Make session serializable #121

Merged
niat8586 merged 1 commits from session-serialization-issues into develop 2025-03-03 07:32:26 +01:00

1 Commits

Author SHA1 Message Date
f3eacbfda4 Make session serializable
All checks were successful
Build and test / build-and-test (push) Successful in 15m59s
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 13m22s
Remove branch deployment from branch.dsv.su.se / cleanup (pull_request) Successful in 4s
When re-deploying the application, or restarting Tomcat, it will attempt to serialize the active sessions to prevent users from getting logged out and losing in-progess work. This requires that all attributes that are stored in the session implement java.io.Serializable. Spring stores the entire security context in the session which includes a reference to the principal, and that principal may be of type "WicketControlledPrincipal" and it must therefore be serializable.
2025-02-27 12:29:29 +01:00