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

    Constructors
    Constructor
    Description
    HerodotusAuthenticationEntryPoint(cn.herodotus.engine.web.core.servlet.template.ThymeleafTemplateHandler templateHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    commence(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      commence in interface org.springframework.security.web.AuthenticationEntryPoint
      Throws:
      IOException
      jakarta.servlet.ServletException