Skip to content

hazelcast/hazelcast-spring-session

Repository files navigation

Hazelcast Spring Session

Spring Session

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 HttpSession in 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 HttpSession alive when receiving WebSocket messages
  • WebSession - allows replacing the Spring WebFlux's WebSession in an application container neutral way.

This module

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.

Getting Started

We recommend you visit the Hazelcast Documentation site and check out provided tutorials and Hazelcast Code Samples for additional code samples (TBD).

Building from Source

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.git

Install jars into your local Maven cache:

./gradlew install

Compile and test; build all jars:

./gradlew build

Documentation

You can find the documentation, samples, and guides for using Spring Session on the Hazelcast Documentation page.

License

Hazelcast Spring Session is Open Source software released under the Apache 2.0 license.

About

Hazelcast-based Spring Session implementation

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages