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, setUriInfopublic 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 userApplicationAccessDeniedExceptionExpiredCredentialExceptionInactiveAccountExceptionInvalidAuthenticationExceptionOperationFailedExceptionCopyright © 2016 Atlassian. All Rights Reserved.