Class AgentAuthenticationResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.AgentAuthenticationResource
@Path("agent/authentication")
@Produces("application/json")
@Consumes("application/json")
@Singleton
public class AgentAuthenticationResource
extends Object
-
Constructor Summary
ConstructorDescriptionAgentAuthenticationResource
(com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentAuthenticationManager remoteAgentAuthenticationManager, RestHelperWrapper restHelperWrapper) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
authenticateAgent
(String agentUuidString) getAgentAuthentications
(Boolean pending)
-
Constructor Details
-
AgentAuthenticationResource
@Inject public AgentAuthenticationResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentAuthenticationManager remoteAgentAuthenticationManager, RestHelperWrapper restHelperWrapper)
-
-
Method Details
-
getAgentAuthentications
@GET public List<RestRemoteAgentAuthentication> getAgentAuthentications(@QueryParam("pending") Boolean pending) -
authenticateAgent
@PUT @Path("{agentUuid}") public javax.ws.rs.core.Response authenticateAgent(@PathParam("agentUuid") String agentUuidString) throws WebValidationException - Throws:
WebValidationException
-