Skip to content

Create ForceEagerSessionCreationFilter #11109

@rwinch

Description

@rwinch

Currently Spring Security's SecurityContextPersistenceFilter has two tasks:

  • (optionally) eagerly create sessions
  • Using the SecurityContextRepository to load/save the SecurityContext

We should decouple these two tasks by creating a new ForceEagerSessionCreationFilter. The decoupling is especially important to support deprecation and removal of SecurityContextPersistenceFilter in favor of SecurityContextHolderFilter.

Metadata

Metadata

Assignees

Labels

in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions