接口 SecurityExceptionHandler
- 所有超级接口:
org.springframework.security.web.access.AccessDeniedHandler,org.springframework.security.web.AuthenticationEntryPoint,org.springframework.security.web.firewall.RequestRejectedHandler
- 所有已知实现类:
SecurityExceptionHandlerImpl
public interface SecurityExceptionHandler
extends org.springframework.security.web.AuthenticationEntryPoint, org.springframework.security.web.access.AccessDeniedHandler, org.springframework.security.web.firewall.RequestRejectedHandler
- 从以下版本开始:
- 1.2.3
- 作者:
- 应卓
- 另请参阅:
-
AuthenticationEntryPointAccessDeniedHandlerRequestRejectedHandlerHttpFirewall
-
方法概要
修饰符和类型方法说明voidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException) voidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException accessDeniedException) voidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.web.firewall.RequestRejectedException requestRejectedException)
-
方法详细资料
-
handle
void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.web.firewall.RequestRejectedException requestRejectedException) throws IOException, jakarta.servlet.ServletException - 指定者:
handle在接口中org.springframework.security.web.firewall.RequestRejectedHandler- 抛出:
IOExceptionjakarta.servlet.ServletException
-
commence
void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authenticationException) throws IOException, jakarta.servlet.ServletException - 指定者:
commence在接口中org.springframework.security.web.AuthenticationEntryPoint- 抛出:
IOExceptionjakarta.servlet.ServletException
-
handle
void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.access.AccessDeniedException accessDeniedException) throws IOException, jakarta.servlet.ServletException - 指定者:
handle在接口中org.springframework.security.web.access.AccessDeniedHandler- 抛出:
IOExceptionjakarta.servlet.ServletException
-