SpringSession+SpringSecurity中如何保存Authentication到Session中的Attribute

发布时间 2023-12-18 16:53:36作者: 沧海一滴

 

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

 


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

 

 

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

 

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