To get started with Spring Session, the best place to start is our Sample Applications.
Source | Description | Guide |
---|---|---|
{gh-samples-url}spring-session-sample-boot-redis[HttpSession with Redis] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-boot-jdbc[HttpSession with JDBC] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-boot-hazelcast[HttpSession with Hazelcast] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-boot-findbyusername[Find by Username] |
Demonstrates how to use Spring Session to find sessions by username. |
|
{gh-samples-url}spring-session-sample-boot-websocket[WebSockets] |
Demonstrates how to use Spring Session with WebSockets. |
|
{gh-samples-url}spring-session-sample-boot-webflux[WebFlux] |
Demonstrates how to use Spring Session to replace the Spring WebFlux’s |
|
{gh-samples-url}spring-session-sample-boot-webflux-custom-cookie[WebFlux with Custom Cookie] |
Demonstrates how to use Spring Session to customize the Session cookie in a WebFlux based application. |
|
{gh-samples-url}spring-session-sample-boot-redis-json[HttpSession with Redis JSON serialization] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-boot-mongodb-traditional[Spring Session with MongoDB Repositories (servlet-based)] |
Demonstrates how to back Spring Session with traditional MongoDB repositories. |
|
{gh-samples-url}spring-session-sample-boot-mongodb-reactive[Spring Session with MongoDB Repositories (reactive)] |
Demonstrates how to back Spring Session with reactive MongoDB repositories. |
Source | Description | Guide |
---|---|---|
{gh-samples-url}spring-session-sample-javaconfig-redis[HttpSession with Redis] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-javaconfig-jdbc[HttpSession with JDBC] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-javaconfig-hazelcast[HttpSession with Hazelcast] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-javaconfig-custom-cookie[Custom Cookie] |
Demonstrates how to use Spring Session and customize the cookie. |
|
{gh-samples-url}spring-session-sample-javaconfig-security[Spring Security] |
Demonstrates how to use Spring Session with an existing Spring Security application. |
|
{gh-samples-url}spring-session-sample-javaconfig-rest[REST] |
Demonstrates how to use Spring Session in a REST application to support authenticating with a header. |
Source | Description | Guide |
---|---|---|
{gh-samples-url}spring-session-sample-xml-redis[HttpSession with Redis] |
Demonstrates how to use Spring Session to replace the |
|
{gh-samples-url}spring-session-sample-xml-jdbc[HttpSession with JDBC] |
Demonstrates how to use Spring Session to replace the |
Source | Description | Guide |
---|---|---|
{gh-samples-url}spring-session-sample-misc-hazelcast[Hazelcast] |
Demonstrates how to use Spring Session with Hazelcast in a Java EE application. |