Skip to content

Session IDs are not cleaned up in principal index after Session ID changed when using Redis #1791

@ashitikov-bld

Description

@ashitikov-bld

Principal index org.springframework.session.FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME accumulates old session ID values. These session IDs were replaced with the new ones during authentication phase because of the applied ChangeSessionIdAuthenticationStrategy. Session ID change is not tracked somehow and does not trigger RedisIndexedSessionRepository#cleanupPrincipalIndex.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions