public class BadCredentialsAuthenticationException extends AuthenticationException
ATTRIBUTE_CREATE_DENIED, BAD_CREDENTIALS, CREDENTIALS_EXPIRED, INTERNAL_ERROR, INVALID_CLIENT, INVALID_IDENTITY_PROVIDER, INVALID_REQUEST, INVALID_RESOURCE, OAUTH2_ERROR, RESOURCE_CONFLICT, USER_DISABLED, USER_LOCKED
Constructor and Description |
---|
BadCredentialsAuthenticationException(java.lang.String message)
Constructs a
BadCredentialsAuthenticationException with
the specified message. |
BadCredentialsAuthenticationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
BadCredentialsAuthenticationException with
the specified message and root cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Retrieve the error code associated with this exception.
|
addAdditionalInformation, getAdditionalInformation
public BadCredentialsAuthenticationException(java.lang.String message)
BadCredentialsAuthenticationException
with
the specified message.message
- the detail messagepublic BadCredentialsAuthenticationException(java.lang.String message, java.lang.Throwable cause)
BadCredentialsAuthenticationException
with
the specified message and root cause.message
- the detail messagecause
- root causepublic java.lang.String getErrorCode()
getErrorCode
in class AuthenticationException