public abstract class AuthenticationException extends ErrorResponse.ErrorResponseException implements AuthenticationError
Authenticator,
Serialized FormErrorResponse.ErrorResponseExceptionERROR_CODE_SERIALIZATION_NAME, ERROR_DESCRIPTION_SERIALIZATION_NAME, ERROR_URI_SERIALIZATION_NAME, INVALID_CLIENT, INVALID_REQUEST, INVALID_TOKEN, SERVER_ERROR, TEMPORARY_UNAVAILABLE| Constructor and Description |
|---|
AuthenticationException(String errorCode,
String errorDescription)
Constructor
|
AuthenticationException(String errorCode,
String errorDescription,
int httpStatus)
Constructor
|
AuthenticationException(String errorCode,
String errorDescription,
String errorURI,
int httpStatus)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getScheme()
Get authentication scheme
|
void |
setScheme(String scheme)
Set authentication scheme
|
getErrorCode, getErrorDescription, getErrorURI, getHttpStatusaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorCode, getErrorDescription, getErrorURI, getHttpStatuspublic AuthenticationException(String errorCode, String errorDescription)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorpublic AuthenticationException(String errorCode, String errorDescription, int httpStatus)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorhttpStatus - HTTP status code to represent error as a HTTP responsepublic AuthenticationException(String errorCode, String errorDescription, String errorURI, int httpStatus)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorerrorURI - Error URI that leads to further details about this errorhttpStatus - HTTP status code to represent error as a HTTP responsepublic String getScheme()
AuthenticationErrorgetScheme in interface AuthenticationErrorpublic void setScheme(String scheme)
scheme - the scheme to setCopyright © 2019 The Holon Platform. All rights reserved.