SpringSession+SpringSecurity中如何保存Authentication到Session中的Attribute
org.springframework.security.web.context.SecurityContextPersistenceFilter#doFilter(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.FilterChain)

org.springframework.security.web.context.HttpSessionSecurityContextRepository#saveContext

SPRING_SECURITY_CONTEXT
org.springframework.session.data.redis.RedisIndexedSessionRepository#SPRING_SECURITY_CONTEXT

org.springframework.security.web.context.HttpSessionSecurityContextRepository#SPRING_SECURITY_CONTEXT_KEY

org.springframework.security.web.context.HttpSessionSecurityContextRepository.SaveToSessionResponseWrapper#saveContext

org.springframework.session.web.http.HttpSessionAdapter#setAttribute

org.springframework.session.data.redis.RedisIndexedSessionRepository.RedisSession#setAttribute

SpringSecurity在登出时使用如何使用这个
org.springframework.session.security.web.authentication.SpringSessionRememberMeServices#logout(javax.servlet.http.HttpServletRequest)


浙公网安备 33010602011771号