Interface RemoteAgentAuthentication

All Superinterfaces:
BambooIdProvider
All Known Subinterfaces:
RemoteAgentAuthenticationEntity
All Known Implementing Classes:
ImmutableRemoteAgentAuthentication, RemoteAgentAuthenticationImpl

public interface RemoteAgentAuthentication extends BambooIdProvider

Represents basic data of any remote agent authentication.

Every authentication request from remote agent has a distinguished UUID and IP. Furthermore, it may be pending approval, or already approved by a Bamboo admin.

Since:
3.4
  • Method Summary

    Modifier and Type
    Method
    Description
    IP address of the agent requesting approval.
     
    UUID of this authentication request.
    boolean
    Whether this request was approved, or is still pending approval

    Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider

    getId
  • Method Details

    • getUuid

      UUID getUuid()
      UUID of this authentication request.
      Returns:
      UUID
    • getIp

      String getIp()
      IP address of the agent requesting approval. May contain multiple addresses (coma separated) if agent connects through proxy
      Returns:
      IP address of the remote agent
    • isApproved

      boolean isApproved()
      Whether this request was approved, or is still pending approval
      Returns:
      true, if this authentication request has been approved
    • getIpPatterns

      Set<String> getIpPatterns()
      Returns:
      list of IP patterns matched for authentication