You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
Ideally, I think we should keep a reference of the SecurityContextRepository set in the constructor and call it in the successfullAuthentication method. Something like this:
Describe the bug
org.springframework.security.cas.web.CasAuthenticationFilter.successfulAuthentication
seems to be missing a call tosecurityContextRepository.saveContext
as per the Spring 6 migration document. I think this makes the filter completely unusable on Spring6/Boot3 and begs to question if theCasAuthenticationFilter
code is production ready for Spring 6 otherwise.To Reproduce
Use the filter
Expected behavior
SecurityContext is saved between requests :)
The text was updated successfully, but these errors were encountered: