public class AuthenticationResource extends AbstractResource
request, 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
username - name of the userApplicationAccessDeniedExceptionExpiredCredentialExceptionInactiveAccountExceptionInvalidAuthenticationExceptionOperationFailedExceptionCopyright © 2018 Atlassian. All rights reserved.