Modifier and Type | Class and Description |
---|---|
class |
OAuth2AccessDeniedException
When access is denied we usually want a 403, but we want the same treatment as all the other OAuth2Exception types,
so this is not a Spring Security AccessDeniedException.
|
Modifier and Type | Class and Description |
---|---|
class |
BadClientCredentialsException
Exception thrown when a client was unable to authenticate.
|
class |
ClientAuthenticationException
Base exception
|
class |
InsufficientScopeException
Exception representing insufficient scope in a token when a request is handled by a Resource Server.
|
class |
InvalidClientException
Exception thrown when a client was unable to authenticate.
|
class |
InvalidGrantException |
class |
InvalidRequestException |
class |
InvalidScopeException
Exception representing an invalid scope in a token or authorization request (i.e. from an Authorization Server).
|
class |
InvalidTokenException |
class |
RedirectMismatchException |
class |
UnauthorizedClientException
Exception thrown when a client was unable to authenticate.
|
class |
UnauthorizedUserException
Exception thrown when a user was unable to authenticate.
|
class |
UnsupportedGrantTypeException |
class |
UnsupportedResponseTypeException |
class |
UserDeniedAuthorizationException |
Modifier and Type | Method and Description |
---|---|
static OAuth2Exception |
OAuth2Exception.create(String errorCode,
String errorMessage)
Creates the appropriate subclass of OAuth2Exception given the errorCode.
|
OAuth2Exception |
OAuth2ExceptionJackson2Deserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
static OAuth2Exception |
OAuth2Exception.valueOf(Map<String,String> errorParams)
Creates an
OAuth2Exception from a Map<String,String>. |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2ExceptionJackson2Serializer.serialize(OAuth2Exception value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
WebResponseExceptionTranslator<OAuth2Exception> |
AuthorizationServerEndpointsConfigurer.getExceptionTranslator() |
Modifier and Type | Method and Description |
---|---|
AuthorizationServerEndpointsConfigurer |
AuthorizationServerEndpointsConfigurer.exceptionTranslator(WebResponseExceptionTranslator<OAuth2Exception> exceptionTranslator) |
Modifier and Type | Method and Description |
---|---|
OAuth2Exception |
FormOAuth2ExceptionHttpMessageConverter.read(Class<? extends OAuth2Exception> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
void |
FormOAuth2ExceptionHttpMessageConverter.write(OAuth2Exception t,
org.springframework.http.MediaType contentType,
org.springframework.http.HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
OAuth2Exception |
FormOAuth2ExceptionHttpMessageConverter.read(Class<? extends OAuth2Exception> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Exception |
JaxbOAuth2ExceptionMessageConverter.convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception jaxbOAuth2Exception) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception |
JaxbOAuth2ExceptionMessageConverter.convertToInternal(OAuth2Exception exception) |
Modifier and Type | Method and Description |
---|---|
protected WebResponseExceptionTranslator<OAuth2Exception> |
AbstractEndpoint.getExceptionTranslator() |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleClientRegistrationException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
CheckTokenEndpoint.handleException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(OAuth2Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(OAuth2Exception e) |
ModelAndView |
AuthorizationEndpoint.handleOAuth2Exception(OAuth2Exception e,
ServletWebRequest webRequest) |
Modifier and Type | Method and Description |
---|---|
void |
CheckTokenEndpoint.setExceptionTranslator(WebResponseExceptionTranslator<OAuth2Exception> exceptionTranslator) |
void |
AbstractEndpoint.setProviderExceptionHandler(WebResponseExceptionTranslator<OAuth2Exception> providerExceptionHandler) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultRedirectResolver.resolveRedirect(String requestedRedirect,
ClientDetails client) |
String |
RedirectResolver.resolveRedirect(String requestedRedirect,
ClientDetails client)
Resolve the redirect for the specified client.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<OAuth2Exception> |
DefaultWebResponseExceptionTranslator.translate(Exception e) |
Modifier and Type | Class and Description |
---|---|
class |
JwkException
General exception for JSON Web Key (JWK) related errors.
|
Copyright © 2019. All rights reserved.