Skip to main content

All Questions

Tagged with
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 ...
SOUser2009 Geeky's user avatar
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 ...
stblassitude's user avatar
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 '...
dev0203's user avatar
  • 11
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 ...
Joshua Kaldon's user avatar
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: <...
Joshua Kaldon's user avatar
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 ...
Daniel Henao's user avatar
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 ...
deeini's user avatar
  • 75
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> ...
user3006967's user avatar
  • 3,505