类 org.springframework.security.oauth2.common.exceptions.OAuth2Exception
的使用

使用 OAuth2Exception 的软件包
org.springframework.security.oauth2.client.resource   
org.springframework.security.oauth2.common.exceptions   
org.springframework.security.oauth2.http.converter   
org.springframework.security.oauth2.http.converter.jaxb   
org.springframework.security.oauth2.provider   
org.springframework.security.oauth2.provider.endpoint   
org.springframework.security.oauth2.provider.error   
 

org.springframework.security.oauth2.client.resourceOAuth2Exception 的使用
 

org.springframework.security.oauth2.client.resourceOAuth2Exception 的子类
 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.
 

org.springframework.security.oauth2.common.exceptionsOAuth2Exception 的使用
 

org.springframework.security.oauth2.common.exceptionsOAuth2Exception 的子类
 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 UnsupportedGrantTypeException
           
 class UnsupportedResponseTypeException
           
 class UserDeniedAuthorizationException
           
 

返回 OAuth2Exceptionorg.springframework.security.oauth2.common.exceptions 中的方法
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)
           
 OAuth2Exception OAuth2ExceptionJackson1Deserializer.deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt)
           
static OAuth2Exception OAuth2Exception.valueOf(Map<String,String> errorParams)
          Creates an OAuth2Exception from a Map.
 

参数类型为 OAuth2Exceptionorg.springframework.security.oauth2.common.exceptions 中的方法
 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)
           
 

org.springframework.security.oauth2.http.converterOAuth2Exception 的使用
 

返回 OAuth2Exceptionorg.springframework.security.oauth2.http.converter 中的方法
 OAuth2Exception FormOAuth2ExceptionHttpMessageConverter.read(Class<? extends OAuth2Exception> clazz, org.springframework.http.HttpInputMessage inputMessage)
           
 

参数类型为 OAuth2Exceptionorg.springframework.security.oauth2.http.converter 中的方法
 void FormOAuth2ExceptionHttpMessageConverter.write(OAuth2Exception t, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage)
           
 

类型变量类型为 OAuth2Exceptionorg.springframework.security.oauth2.http.converter 中的方法参数
 OAuth2Exception FormOAuth2ExceptionHttpMessageConverter.read(Class<? extends OAuth2Exception> clazz, org.springframework.http.HttpInputMessage inputMessage)
           
 

org.springframework.security.oauth2.http.converter.jaxbOAuth2Exception 的使用
 

返回 OAuth2Exceptionorg.springframework.security.oauth2.http.converter.jaxb 中的方法
protected  OAuth2Exception JaxbOAuth2ExceptionMessageConverter.convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception jaxbOAuth2Exception)
           
 

参数类型为 OAuth2Exceptionorg.springframework.security.oauth2.http.converter.jaxb 中的方法
protected  org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2Exception JaxbOAuth2ExceptionMessageConverter.convertToInternal(OAuth2Exception exception)
           
 

org.springframework.security.oauth2.providerOAuth2Exception 的使用
 

抛出 OAuth2Exceptionorg.springframework.security.oauth2.provider 中的方法
 ClientDetails InMemoryClientDetailsService.loadClientByClientId(String clientId)
           
 

org.springframework.security.oauth2.provider.endpointOAuth2Exception 的使用
 

返回变量类型为 OAuth2Exception 的类型的 org.springframework.security.oauth2.provider.endpoint 中的方法
 org.springframework.http.ResponseEntity<OAuth2Exception> TokenEndpoint.handleClientRegistrationException(Exception e)
           
 org.springframework.http.ResponseEntity<OAuth2Exception> TokenEndpoint.handleException(Exception e)
           
 

参数类型为 OAuth2Exceptionorg.springframework.security.oauth2.provider.endpoint 中的方法
 org.springframework.web.servlet.ModelAndView AuthorizationEndpoint.handleOAuth2Exception(OAuth2Exception e, org.springframework.web.context.request.ServletWebRequest webRequest)
           
 

抛出 OAuth2Exceptionorg.springframework.security.oauth2.provider.endpoint 中的方法
 String RedirectResolver.resolveRedirect(String requestedRedirect, ClientDetails client)
          Resolve the redirect for the specified client.
 String DefaultRedirectResolver.resolveRedirect(String requestedRedirect, ClientDetails client)
           
 

org.springframework.security.oauth2.provider.errorOAuth2Exception 的使用
 

返回变量类型为 OAuth2Exception 的类型的 org.springframework.security.oauth2.provider.error 中的方法
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)
           
 

类型变量类型为 OAuth2Exceptionorg.springframework.security.oauth2.provider.error 中的方法参数
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 © 2013. All rights reserved.