Package com.atlassian.bamboo.agent
Class AgentSecurityTokenServiceImpl
java.lang.Object
com.atlassian.bamboo.agent.AgentSecurityTokenServiceImpl
- All Implemented Interfaces:
AgentSecurityTokenService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
Get the current security token for this Bamboo instance.void
Generate a new security token for this Bamboo instance.
-
Constructor Details
-
AgentSecurityTokenServiceImpl
public AgentSecurityTokenServiceImpl()
-
-
Method Details
-
getSecurityToken
Description copied from interface:AgentSecurityTokenService
Get the current security token for this Bamboo instance.- Specified by:
getSecurityToken
in interfaceAgentSecurityTokenService
-
resetSecurityToken
public void resetSecurityToken()Description copied from interface:AgentSecurityTokenService
Generate 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:
resetSecurityToken
in interfaceAgentSecurityTokenService
-