类 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(org.springframework.security.core.session.SessionRegistry sessionRegistry) -
方法概要
修饰符和类型方法说明voidonAuthentication(org.springframework.security.core.Authentication authentication, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
构造器详细资料
-
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
-