Class TestkitConfigurationResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitConfigurationResource
@Named
@Produces("application/json")
@Consumes("application/json")
@Path("/configuration")
public class TestkitConfigurationResource
extends Object
-
Constructor Summary
ConstructorDescriptionTestkitConfigurationResource
(TrustedProxyManager trustedProxyManager, SwitchableTokenManager switchableTokenManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addAddress
(String addressToAdd) javax.ws.rs.core.Response
javax.ws.rs.core.Response
-
Constructor Details
-
TestkitConfigurationResource
@Inject public TestkitConfigurationResource(TrustedProxyManager trustedProxyManager, SwitchableTokenManager switchableTokenManager)
-
-
Method Details
-
getAddresses
-
addAddress
@POST @Path("/trusted-proxy") public javax.ws.rs.core.Response addAddress(@RequestBody String addressToAdd) -
removeAllAddresses
@DELETE @Path("/trusted-proxy") public javax.ws.rs.core.Response removeAllAddresses() -
changeStorageType
@POST @Path("/session-storage") public javax.ws.rs.core.Response changeStorageType(TokenStorageType type) throws PropertyManagerException - Throws:
PropertyManagerException
-