public class OAuth2AccessDeniedException extends OAuth2Exception
ACCESS_DENIED, DESCRIPTION, ERROR, INSUFFICIENT_SCOPE, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, REDIRECT_URI_MISMATCH, UNAUTHORIZED_CLIENT, UNSUPPORTED_GRANT_TYPE, UNSUPPORTED_RESPONSE_TYPE, URI| Constructor and Description |
|---|
OAuth2AccessDeniedException() |
OAuth2AccessDeniedException(OAuth2ProtectedResourceDetails resource) |
OAuth2AccessDeniedException(String msg) |
OAuth2AccessDeniedException(String msg,
OAuth2ProtectedResourceDetails resource) |
OAuth2AccessDeniedException(String msg,
OAuth2ProtectedResourceDetails resource,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpErrorCode()
The HTTP error code associated with this error.
|
String |
getOAuth2ErrorCode()
The OAuth2 error code.
|
OAuth2ProtectedResourceDetails |
getResource() |
void |
setResource(OAuth2ProtectedResourceDetails resource) |
addAdditionalInformation, create, getAdditionalInformation, getSummary, toString, valueOfaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OAuth2AccessDeniedException()
public OAuth2AccessDeniedException(String msg)
public OAuth2AccessDeniedException(OAuth2ProtectedResourceDetails resource)
public OAuth2AccessDeniedException(String msg, OAuth2ProtectedResourceDetails resource)
public OAuth2AccessDeniedException(String msg, OAuth2ProtectedResourceDetails resource, Throwable t)
public OAuth2ProtectedResourceDetails getResource()
public void setResource(OAuth2ProtectedResourceDetails resource)
public String getOAuth2ErrorCode()
OAuth2ExceptiongetOAuth2ErrorCode in class OAuth2Exceptionpublic int getHttpErrorCode()
OAuth2ExceptiongetHttpErrorCode in class OAuth2ExceptionCopyright © 2019. All rights reserved.