Skip to content

SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35240

@philwebb

Description

@philwebb

SessionRepositoryFilterConfiguration.sessionRepositoryFilterRegistration is a filter registration bean which means it's initialized very early. It injects a SessionRepositoryFilter which is defined in SpringHttpSessionConfiguration and itself injects a SessionRepository. If a RedisSessionRepository is being used, then full initialization of Redis occurs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions