-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
Describe the bug
Spring Session cannot handle Spring Boot 2.3 and 2.4 sessions in parallel, because the serialization of SecurityContextImpl
is whether backward nor forward compatible:
java.io.InvalidClassException: org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = 540, local class serialVersionUID = 530
This makes it impossible to migrate from Spring Boot 2.3 to 2.4 without downtimes.
To Reproduce
Use Spring Session (e.g. Redis) to share sessions between Spring Boot 2.3 and 2.4. applications.
Expected behavior
No serialization failures. 2.3 sessions can be handled by 2.4 and vice versa.
adrienpavone, hyeonki-min, Zeouterlimits, antonio-pocas-td, lpyfm and 6 more
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply