com.atlassian.crowd.plugin.rest.service.resource
Class AuthenticationResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
com.atlassian.crowd.plugin.rest.service.resource.AuthenticationResource
public class AuthenticationResource
- extends AbstractResource
User Authentication Resource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationResource
public AuthenticationResource(AuthenticationController authenticationController)
authenticateUser
public javax.ws.rs.core.Response authenticateUser(String username,
PasswordEntity password)
throws ApplicationAccessDeniedException,
ExpiredCredentialException,
InactiveAccountException,
InvalidAuthenticationException,
OperationFailedException
- Authenticates a user. Does not generate an SSO token. See
TokenResource
for the resource handling SSO.
- Parameters:
username
- name of the userpassword
- password of the user
- Throws:
ApplicationAccessDeniedException
ExpiredCredentialException
InactiveAccountException
InvalidAuthenticationException
OperationFailedException
Copyright © 2013 Atlassian. All Rights Reserved.