All Questions
Tagged with spring-session mongodb
8
questions
1
vote
0
answers
239
views
Custom SessionRepositoryFilter creation
We are using mongo persistance for HTTP sessions on Springboot project
and would like to avoid saving the Session on every call.
we have a default session expiry of 30 minutes
and would like to save ...
2
votes
1
answer
1k
views
Spring Session with MongoDB: race condition?
We have an application behind a load balancer that only supports round-robin, no sticky sessions.
The Spring Boot application runs in an OpenShift cluster, with a number of pods in a deployment. We ...
1
vote
0
answers
820
views
Spring session creates new session without authentication after session timeout
I'm using @EnableMongoHttpSession in the HttpSessionConfig class. So, when a url is hit from a browser, it asks for authentication. On a successful login, a new document is created in the Mongo '...
1
vote
1
answer
469
views
Spring Mongodb: configure documents to use specific dbs?
I have a rest based spring-boot microservice that I want to configure to store authentication and session data in one mongo database and application data in another database.
My current setup ...
0
votes
1
answer
1k
views
Moving from @EnableRedisHttpSession to @EnableMongoHttpSession receiving exception
I have a Java 8 spring boot project that was using the Redis HttpSession store. However, I want to change it to use the Mongo HttpSession store instead. I changed my deependency from:
<...
1
vote
0
answers
525
views
How to tell spring to search sessions in another mongo databaseName than the Default DB instance?
I'm attempting to secure my Resource Server (API SERVER) using spring security and spring session.
Currently I do have two applications. The application (A) is a UI application which is secured with ...
0
votes
1
answer
3k
views
Spring Boot: Exception Handling if mongo diconnects after application start up
My spring boot application uses mongo during startup and it start very smoothly.
Now after start up I Shut the mongo and hit any controller of my application. But the control never reaches to the ...
0
votes
1
answer
2k
views
using spring session with spring 3.1.2 not working
I want to use spring session mongo with my current spring 3.1.2 project, but failed.
My POM dependency is as this:
<dependency>
<groupId>org.springframework</groupId>
...