Make session serializable #121
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "session-serialization-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.How to test
develop
branchdev@localhost
Deployed to https://scipro-session-serialization-issues.branch.dsv.su.se
Could not test with Sture Student, probably something i missed when setting up.
Tried it with other user at my disposal, and behavior was as described both for develop and the branch.
Looks good to me.
👍