Skip to content

spring-operator/spring-session-data-mongodb

 
 

Repository files navigation

Spring Session MongoDB

Spring Session MongoDB provides a solution for Spring Session in a MongoDB data store.

  • Accessing a session from any environment (i.e. web, messaging infrastructure, etc)

  • In a web environment

    • Support for clustering in a vendor neutral way

    • Pluggable strategy for determining the session id

    • Easily keep the HttpSession alive when a WebSocket is active

Project Status

We go to great lengths to ensure smooth upgrades. We also seek to make your upgrade on major versions of Java can be as smooth as possible.

Check the matrix below to see the status of supported versions:

Table 1. Spring Session for MongoDB Status
Job master branch (2.1) 2.0.x branch (2.0.x)

Test - JDK 8

badge

badge

Test - JDK 8 and Spring.NEXT

badge

badge

Test - JDK 8 and Spring.NEXT 5.1

badge

badge

Test - JDK 8 and Spring Data.NEXT

badge

badge

Test - JDK 11

badge

badge

Test - JDK 11 and Spring.NEXT

badge

badge

Test - JDK 11 and Spring.NEXT 5.1

badge

badge

Test - JDK 11 and Spring Data.NEXT

badge

badge

Test - JDK 13*

badge

Test - JDK 13* and Spring.NEXT

badge

Test - JDK 13* and Spring.NEXT 5.1

badge

Test - JDK 13* and Spring Data.NEXT

badge

Build - Release to repo.spring.io

badge

badge

Important
Spring Session for MongoDB 2.1 runs on Spring Framework 5.1, which has support for JDK 11. Spring Session for MongoDB 2.0.x runs on Spring Framework 5.0 and is NOT supported on JDK 11 despite our pipelines testing against it. The extra tests are designed to give you a smooth upgrade path. If you are going into production on JDK 11, should need to be using Spring Session for MongoDB 2.1.
Important
JDK 12 is Java’s latest version and is unstable. We are testing against it to catch issues early on, but don’t support it directly on any version of Spring Session for MongoDB.

Building Spring Session MongoDB

  1. Run mvn clean package

This will generate the artifact.

You can also import the project into your IDE.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

Spring Session Project Site

You can find the documentation, issue management, support, samples, and guides for using Spring Session MongoDB at http://projects.spring.io/spring-session-data-mongodb/

License

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

Packages

No packages published

Languages

  • Java 97.0%
  • Shell 3.0%