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