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 theHttpSessionin 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 theHttpSessionalive when receiving WebSocket messagesWebSession- allows replacing the Spring WebFlux'sWebSessionin an application container neutral way.
Hazelcast Spring Session uses Hazelcast Platform to store user session information in a cluster. The SessionRepository uses Hazelcast's IMap to store the session information, giving users AP characteristics.
We recommend you visit the Hazelcast Documentation site and check out provided tutorials and Hazelcast Code Samples for additional code samples (TBD).
Hazelcast Spring Session uses a Gradle build system.
In the instructions below, ./gradlew is invoked from the root of the source tree and serves as
a cross-platform, self-contained bootstrap mechanism for the build.
Check out sources:
git clone [email protected]:hazelcast/hazelcast-spring-session.gitInstall jars into your local Maven cache:
./gradlew installCompile and test; build all jars:
./gradlew buildYou can find the documentation, samples, and guides for using Spring Session on the Hazelcast Documentation page.
Hazelcast Spring Session is Open Source software released under the Apache 2.0 license.