Skip to main content

All Questions

0 votes
1 answer
98 views

Spring Websession does not encode session id while setting Cookie

HttpSession encode the sessionid(base64) but WebSession not. Is there any way we can encode session id in websession too. HttpSession has following code which allows us to control encoding while ...
Sundar M's user avatar
0 votes
0 answers
130 views

spring-session-data-mongodb reactive not cleanig up expired sessions

I'm trying to swap out using spring-session-data-redis for spring-session-data-mongo in a Webflux spring-cloud-gateway. Previously with the redis implementation session information in redis was ...
zargarf's user avatar
  • 633
0 votes
1 answer
438 views

Spring Cloud Gateway - Intercept under hood request/response to Keycloak IDP

We are implementing a Spring Cloud Gateway application (with Webflux) that is mediating the OAuth2 authentication with Keycloak. SCG checks if the Spring Session is active: if not, redirects to ...
diego.gazzola's user avatar
1 vote
1 answer
1k views

No Session cookie set when using CookieServerCsrfTokenRepository

I'm using Spring Webflux, Security, Session and Redis. It seems that once the 'csrfTokenRepository' is set in a security configuration like the one below, the SESSION cookie is no longer set as part ...
Newbie's user avatar
  • 7,179
0 votes
1 answer
934 views

Does Spring Session REST support WebFlux Reactor applications?

I'm planning to integrate Spring Session Redis + Spring Security in WebFlux Project. And I am looking for some official documentation and references\Sample.But The Document only have Servlet Container ...
zy_sun's user avatar
  • 393
1 vote
0 answers
1k views

Spring GW Oauth2 Client and Spring Session Redis - Loop in authentication in round robin cluster

I have a Spring Cloud Gateway service (reactive version) with Spring Security, which is Oauth2 client to a PingID service with Authorization Code Flow. It is going to act as a BFF for a JS SPA client ...
Garci García's user avatar
1 vote
0 answers
2k views

WebFlux session handling

I have a web application using the following Setup: Spring Boot 2.4.x Spring Session Spring Security Spring Webflux We want to use a basic auth authentication, backed with a session. For storing the ...
Koizumi's user avatar
  • 187
1 vote
0 answers
459 views

Spring Boot Configuration Bean behaves different at Windows and Linux

I am using openjdk14 and have interesting problem here. I have reactive project and use spring security and spring session modules. I have created my WebSessionManager as described here. (https://docs....
denizg's user avatar
  • 936
2 votes
0 answers
410 views

Spring WebSession Redis Exception

I want to store my WebSession in Redis. There is no problem at put operation, but it throws exception when retrieving stored record. Here is my example stack trace Caused by: com.fasterxml.jackson....
denizg's user avatar
  • 936
1 vote
0 answers
902 views

spring webflux - don't create session for specific paths

My spring webflux service exposes a health-check endpoint, which is called every few seconds. spring-security is configured, and currently each health-check call creates a new session, which fills the ...
nagy.zsolt.hun's user avatar
1 vote
0 answers
216 views

Updating the principal in all of the user's sessions in Spring Webflux?

Disclaimer: I'm new to Spring. Hey, I want the principal object to always be updated for all sessions, so that I can avoid extra database queries when I want to use the currently logged in user. I'm ...
espidev's user avatar
  • 26
-1 votes
1 answer
96 views

SpringSession WebSession with GemFire/Geode

Is there any support or plan to support WebSession with GemFire/Geode? Currently I can only find support for Redis and Map based Reactive Session management within the Spring Session project.
knoxl's user avatar
  • 11
1 vote
1 answer
2k views

How access WebSession in WebFlux services?

I'm using spring-webflux, And I want to use WebSession in some different classes for one request. For example: Application has some analyze service. Clients want to run some of them. They send a ...
Morteza Malvandi's user avatar
1 vote
0 answers
398 views

Change session ID with cluster redis

I have a spring boot project which uses webflux and spring session with redis (cluster mode) for session management. I am trying to change the session ID when user state changes using webSession....
Ravi K's user avatar
  • 11
2 votes
0 answers
336 views

get logged in users with spring reactive/webflux security

I am trying to build a small example with the reactive stack of spring. I want to write some kind of audit log for when somebody logged in and out or keep track of "active users", how would I do that? ...
Bernd Kolb's user avatar

15 30 50 per page