Spring Session provides an API and implementations for managing a user’s session information.
Spring Session makes it trivial to support clustered sessions without being tied to an application container specific solution. It also provides transparent integration with:
HttpSessionin an application container (i.e. Tomcat) neutral way, with support for providing session IDs in headers to work with RESTful APIs
HttpSessionalive when receiving WebSocket messages
WebSessionin an application container neutral way
Spring Session consists of the following modules:
ReactiveSessionRepositoryimplementation backed by Redis and configuration support
SessionRepositoryimplementation backed by a relational database and configuration support
SessionRepositoryimplementation backed by Hazelcast and configuration support
Refer to the Samples and their corresponding guides for a quickstart.