类 HerodotusSessionAuthenticationStrategy

java.lang.Object
org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy
cn.herodotus.stirrup.oauth2.authorization.servlet.HerodotusSessionAuthenticationStrategy
所有已实现的接口:
org.springframework.security.web.authentication.session.SessionAuthenticationStrategy

public class HerodotusSessionAuthenticationStrategy extends org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy

Description: 自定义扩展 SessionAuthenticationStrategy

扩展 SessionAuthenticationStrategy 以支持 FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME 的设置。

作者:
: gengwei.zheng
Date:
: 2023/9/5 14:01
  • 构造器详细资料

    • HerodotusSessionAuthenticationStrategy

      public HerodotusSessionAuthenticationStrategy(org.springframework.security.core.session.SessionRegistry sessionRegistry)
  • 方法详细资料

    • onAuthentication

      public void onAuthentication(org.springframework.security.core.Authentication authentication, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      指定者:
      onAuthentication 在接口中 org.springframework.security.web.authentication.session.SessionAuthenticationStrategy
      覆盖:
      onAuthentication 在类中 org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy