Class HerodotusAuthenticationEntryPoint
java.lang.Object
cn.herodotus.engine.oauth2.core.response.HerodotusAuthenticationEntryPoint
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
public class HerodotusAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
Description: 自定义未认证处理
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/8 8:55
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
Constructor Details
-
HerodotusAuthenticationEntryPoint
public HerodotusAuthenticationEntryPoint()
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, jakarta.servlet.ServletException - Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
IOExceptionjakarta.servlet.ServletException
-