Class AuthenticationResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
com.atlassian.crowd.plugin.rest.service.resource.usermanagement.AuthenticationResource
@Path("authentication")
@Produces({"application/xml","application/json"})
@Consumes({"application/xml","application/json"})
public class AuthenticationResource
extends AbstractResource
User Authentication Resource.
-
Field Summary
Fields inherited from class com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
request, uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
authenticateUser
(String username, PasswordEntity password) javax.ws.rs.core.Response
userAuthenticated
(String username) Methods inherited from class com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
getApplicationName, getBaseUri, setApplicationName, setRequest, setUriInfo
-
Constructor Details
-
AuthenticationResource
-
-
Method Details
-
authenticateUser
@POST public javax.ws.rs.core.Response authenticateUser(@QueryParam("username") String username, PasswordEntity password) throws ExpiredCredentialException, InactiveAccountException, InvalidAuthenticationException, OperationFailedException -
userAuthenticated
@POST @Path("notify") public javax.ws.rs.core.Response userAuthenticated(@QueryParam("username") String username) throws InactiveAccountException, ExpiredCredentialException, OperationFailedException, InvalidAuthenticationException
-