com.atlassian.bamboo.buildqueue
Interface RemoteAgentAuthentication

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

public interface RemoteAgentAuthentication

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
 java.lang.String getIp()
          IP address of the agent requesting approval.
 java.util.Set<java.lang.String> getIpPatterns()
           
 java.util.UUID getUuid()
          UUID of this authentication request.
 boolean isApproved()
          Whether this request was approved, or is still pending approval
 

Method Detail

getUuid

java.util.UUID getUuid()
UUID of this authentication request.

Returns:
UUID

getIp

java.lang.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

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


Copyright © 2012 Atlassian. All Rights Reserved.