Skip to content

CasAuthenticationFilter.successfulAuthentication missing call to securityContextRepository.saveContext #13243

Closed
@tokarls

Description

@tokarls

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 :)

Metadata

Metadata

Labels

in: casAn issue in spring-security-castype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions