Package com.atlassian.bamboo.agent
Class AgentSecurityTokenServiceImpl
java.lang.Object
com.atlassian.bamboo.agent.AgentSecurityTokenServiceImpl
- All Implemented Interfaces:
AgentSecurityTokenService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringGet the current security token for this Bamboo instance.voidGenerate a new security token for this Bamboo instance.
-
Constructor Details
-
AgentSecurityTokenServiceImpl
public AgentSecurityTokenServiceImpl()
-
-
Method Details
-
getSecurityToken
Description copied from interface:AgentSecurityTokenServiceGet the current security token for this Bamboo instance.- Specified by:
getSecurityTokenin interfaceAgentSecurityTokenService
-
resetSecurityToken
public void resetSecurityToken()Description copied from interface:AgentSecurityTokenServiceGenerate a new security token for this Bamboo instance. Note that this is a very invasive operation and might cause all remote agents to be unable to connect to this Bamboo instance until the correct token is used.- Specified by:
resetSecurityTokenin interfaceAgentSecurityTokenService
-