Closed
Description
Describe the bug
org.springframework.security.cas.web.CasAuthenticationFilter.successfulAuthentication
seems to be missing a call to securityContextRepository.saveContext
as per the Spring 6 migration document. I think this makes the filter completely unusable on Spring6/Boot3 and begs to question if the CasAuthenticationFilter
code is production ready for Spring 6 otherwise.
To Reproduce
Use the filter
Expected behavior
SecurityContext is saved between requests :)