org.springframework.security.oauth2.provider.error
类 OAuth2AccessDeniedHandler

java.lang.Object
  继承者 org.springframework.security.oauth2.provider.error.AbstractOAuth2SecurityExceptionHandler
      继承者 org.springframework.security.oauth2.provider.error.OAuth2AccessDeniedHandler
所有已实现的接口:
org.springframework.security.web.access.AccessDeniedHandler

public class OAuth2AccessDeniedHandler
extends AbstractOAuth2SecurityExceptionHandler
implements org.springframework.security.web.access.AccessDeniedHandler

If authorization fails and the caller has asked for a specific content type response, this entry point can send one, along with a standard 403 status. Add to the Spring Security configuration as an AccessDeniedHandler in the usual way.

作者:
Dave Syer

字段摘要
 
从类 org.springframework.security.oauth2.provider.error.AbstractOAuth2SecurityExceptionHandler 继承的字段
logger
 
构造方法摘要
OAuth2AccessDeniedHandler()
           
 
方法摘要
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException authException)
           
 
从类 org.springframework.security.oauth2.provider.error.AbstractOAuth2SecurityExceptionHandler 继承的方法
doHandle, enhanceResponse, setExceptionRenderer, setExceptionTranslator
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OAuth2AccessDeniedHandler

public OAuth2AccessDeniedHandler()
方法详细信息

handle

public void handle(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   org.springframework.security.access.AccessDeniedException authException)
            throws IOException,
                   javax.servlet.ServletException
指定者:
接口 org.springframework.security.web.access.AccessDeniedHandler 中的 handle
抛出:
IOException
javax.servlet.ServletException


Copyright © 2013. All rights reserved.