Package com.atlassian.bamboo.agent
Class AgentSecurityTokenServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.AgentSecurityTokenServiceImpl
-
- All Implemented Interfaces:
AgentSecurityTokenService
public class AgentSecurityTokenServiceImpl extends Object implements AgentSecurityTokenService
-
-
Constructor Summary
Constructors Constructor Description AgentSecurityTokenServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getSecurityToken()
Get the current security token for this Bamboo instance.void
resetSecurityToken()
Generate a new security token for this Bamboo instance.
-
-
-
Method Detail
-
getSecurityToken
@NotNull public @NotNull String 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
-
-