-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: enhancementA general enhancementA general enhancement
Milestone
Description
We should remove SecurityContextPersistenceFilter
in favor of explicit saves to the SecurityContextRepository. This will provide lots of benefits:
- There will be no confusion when the SecurityContext should be saved
- Different types of authentication can save (or not save) the SecurityContext differently
- This would align with how WebFlux works
We would add a new Filter that only reads the SecurityContext and sets it on SecurityContextHolder. We should also consider providing a simplified API that doesn't involve needing to update the HttpRequestResponseHolder
.
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: enhancementA general enhancementA general enhancement