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
|
方法摘要 |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.access.AccessDeniedException authException)
|
| 从类 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.