| 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 teh 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.
|
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 |
OAuth2ExceptionJackson1Deserializer.deserialize(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt) |
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) |
void |
OAuth2ExceptionJackson1Serializer.serialize(OAuth2Exception value,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider) |
| 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 |
|---|---|
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleClientRegistrationException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
CheckTokenEndpoint.handleException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(OAuth2Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleHttpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException e) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<OAuth2Exception> |
TokenEndpoint.handleException(OAuth2Exception e) |
org.springframework.web.servlet.ModelAndView |
AuthorizationEndpoint.handleOAuth2Exception(OAuth2Exception e,
org.springframework.web.context.request.ServletWebRequest webRequest) |
| 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 |
|---|---|
protected org.springframework.http.ResponseEntity<OAuth2Exception> |
OAuth2AuthenticationEntryPoint.enhanceResponse(org.springframework.http.ResponseEntity<OAuth2Exception> response,
Exception exception) |
protected org.springframework.http.ResponseEntity<OAuth2Exception> |
AbstractOAuth2SecurityExceptionHandler.enhanceResponse(org.springframework.http.ResponseEntity<OAuth2Exception> result,
Exception authException)
Allow subclasses to manipulate the response before it is rendered.
|
org.springframework.http.ResponseEntity<OAuth2Exception> |
WebResponseExceptionTranslator.translate(Exception e) |
org.springframework.http.ResponseEntity<OAuth2Exception> |
DefaultWebResponseExceptionTranslator.translate(Exception e) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<OAuth2Exception> |
OAuth2AuthenticationEntryPoint.enhanceResponse(org.springframework.http.ResponseEntity<OAuth2Exception> response,
Exception exception) |
protected org.springframework.http.ResponseEntity<OAuth2Exception> |
AbstractOAuth2SecurityExceptionHandler.enhanceResponse(org.springframework.http.ResponseEntity<OAuth2Exception> result,
Exception authException)
Allow subclasses to manipulate the response before it is rendered.
|
Copyright © 2016. All rights reserved.