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
in an application container-neutral way, with support for providing session IDs in headers to work with RESTful APIs.
HttpSession
alive when receiving WebSocket messages
WebSession
in an application container-neutral way.