All Questions
Tagged with spring-session redis
123
questions
0
votes
0
answers
36
views
Bring JSESSIONID in Tomcat Application and JSESSIONID in Spring Boot together
I am working on bringing two apps together sessionwise.
So the prefered state is one JSESSIONID, which both apps - one is tomcat the other one can understand.
I found that the tomcat-JSESSIONID: ...
0
votes
0
answers
107
views
How to get the session ID returned by cookie with spring-session-data-redis
When managing sessions using spring-session-data-redis, I think the session ID is returned in a cookie named SESSION.
(FYI:https://spring.pleiades.io/spring-session/reference/guides/boot-redis.html)
I ...
0
votes
2
answers
499
views
How to make the user sessions not expire in Redis in Spring Boot applicaion
I am new to spring-data-redis. I have integrated it with a spring-boot application. As part of this, I have added a few configs as follows:
spring.session.store-type=redis
spring.session.redis....
0
votes
1
answer
202
views
Initializing RedisHttpSessionConfiguration with Spring Session Data Redis
I am trying to replace the default JDBC session management in my Spring application with Redis, using Spring Session Data Redis 2.2.2.RELEASE and Jedis 3.10.0 on Java 11.
However, I am getting the ...
1
vote
2
answers
725
views
Why does Spring Boot not configure Spring Session Redis?
Following this example here I upgraded my Spring Boot 3.2 application to use Redis as session storage.
I've added the required dependency:
<dependency>
<groupId>org.springframework....
1
vote
0
answers
129
views
Spring Session Redis failing to serialize OAuth2AccessToken
I'm trying to setup Spring session with Redis and I want data to be serialized to JSON.
This is my SessionConfig:
@Configuration
public class SessionConfig implements BeanClassLoaderAware {
@...
5
votes
2
answers
1k
views
Can Spring Session be turned off in Spring Boot 3?
In my Spring Boot 2.7.4 project, I use Spring Session with Redis by including these dependencies:
<dependency>
<groupId>org.springframework.boot</groupId>
...
1
vote
0
answers
861
views
How to configure Keycloak 21.0.1 to use redis session store
I'm looking for some guidance on how to configure Keycloak version 21.0.1 to use Redis for session storage. I've searched around and found many answers on this topic, but they all seem to be for ...
3
votes
2
answers
2k
views
Does setting spring.session.store-type to 'redis' no longer provide a FindByIndexNameSessionRepository bean?
I wrote a little spring security demo some time ago and I used redis for storing user sessions. I've been trying to upgrade it to Spring Boot 3 and Spring Security 6 but after raising project versions ...
0
votes
1
answer
1k
views
spring session redis ConfigureRedisAction.NO_OP not working
according to the document https://docs.spring.io/spring-session/reference/api.html
If you use @EnableRedisHttpSession, managing the SessionMessageListener and enabling the necessary Redis Keyspace ...
0
votes
1
answer
310
views
Implement maxIdle timout session using Redis
Like Spring Session with Redis persistence, how to achieve max idle timeout using Redis as cache? I need to have both global timeout and max inactive timeout. The global timeout can be achieved using ...
1
vote
0
answers
441
views
Spring Boot - connect resource server to Spring Session with an Redis server
For evaluation purposes we would like to use Spring Session in combination with an Embedded-Redis server.
When using Spring Boot 2.6.7 with JDK17 we start the Spring Session with an Embedded-Redis ...
1
vote
0
answers
423
views
Getting NullPointerException from message listener container, while staring spring boot application
I am getting following error with my Spring boot application:
Exception in thread "custom-message_listener-container-2" java.lang.NullPointerException
at redis.clients.jedis....
-1
votes
1
answer
1k
views
Single shared session for multiple Spring Boot microservices in Redis
I have several separated Spring Boot microservices. Sessions are created separately for every microservice (and their instances). I have Spring Session involved, that helps with creating a single ...
1
vote
0
answers
1k
views
set Domain on cookie using spring security when login success
How can I set the property "domain" on the users cookie when the user has authenticated from spring?
Edit: id like to add domain=".mydomain.com" to cookie with id JSESSIONID
I dont ...