public class AuthenticationResource extends AbstractResource
MAX_RESULTS_PARAM, request, START_INDEX_PARAM, uriInfo
Constructor and Description |
---|
AuthenticationResource(AuthenticationController authenticationController) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authenticateUser(String username,
PasswordEntity password)
Authenticates a user.
|
getApplicationName, getBaseUri, setApplicationName, setRequest, setUriInfo
public AuthenticationResource(AuthenticationController authenticationController)
public javax.ws.rs.core.Response authenticateUser(String username, PasswordEntity password) throws ApplicationAccessDeniedException, ExpiredCredentialException, InactiveAccountException, InvalidAuthenticationException, OperationFailedException
TokenResource
for the resource handling SSO.username
- name of the userpassword
- password of the userApplicationAccessDeniedException
ExpiredCredentialException
InactiveAccountException
InvalidAuthenticationException
OperationFailedException
Copyright © 2016 Atlassian. All rights reserved.