Class HerodotusAccessDeniedHandler
java.lang.Object
cn.herodotus.engine.oauth2.core.response.HerodotusAccessDeniedHandler
- All Implemented Interfaces:
org.springframework.security.web.access.AccessDeniedHandler
public class HerodotusAccessDeniedHandler
extends Object
implements org.springframework.security.web.access.AccessDeniedHandler
Description: 访问拒绝处理器
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/8 8:52
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException accessDeniedException)
-
Constructor Details
-
HerodotusAccessDeniedHandler
public HerodotusAccessDeniedHandler()
-
-
Method Details
-
handle
public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException accessDeniedException) throws IOException, jakarta.servlet.ServletException - Specified by:
handlein interfaceorg.springframework.security.web.access.AccessDeniedHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-