Spring Session provides an API and implementations for managing a user’s session information, while also making it trivial to support clustered sessions without being tied to an application container specific solution. It also provides transparent integration with:
- HttpSession - allows replacing the
HttpSessionin an application container (i.e. Tomcat) neutral way, with support for providing session IDs in headers to work with RESTful APIs.
- WebSocket - provides the ability to keep the
HttpSessionalive when receiving WebSocket messages
- WebSession - allows replacing the Spring WebFlux’s
WebSessionin an application container neutral way.