Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
131 views

We have noticed that the following Tomcat session metrics are no longer being tracked after adding the org.springframework.session:spring-session-data-redis dependency : ...
Advice
2 votes
0 replies
111 views

I followed this tutorial to get my authentication session up and running. However, I am unsure of the differences between spring.session.timeout, server.servlet.session.timeout and server.servlet....
Best practices
0 votes
1 replies
45 views

I'm using a spring application that uses spring sessions. The application auto-scales based on the traffic (fairly standard approach), so it starts up quite often (a few thousand times per week). I'm ...
Score of 1
2 answers
239 views

I am doing something like the following in a Spring Boot test. @Test void givenAuthenticated_whenDeleteSession_return204() throws Exception { final String manager = ORG_MANAGER_EMAIL; ...
Score of 0
1 answer
184 views

Spring seems to be creating a session, and saving my session variable in memory. But when I check the SPRING_SESSION (and SPRING_SESSION_ATTRIBUTES) table(s), there is never an entry. pom.xml ...
Score of 0
0 answers
81 views

I have a multi-project setup with a Spring back-end and a Vaadin 23 Flow front-end. I'm trying to synchronize the session lifecycles so that when the back-end session expires, the Vaadin UI correctly ...
Score of 1
0 answers
99 views

I'm trying to share the HTTP session between a Spring MVC (Servlet-based) application and a Spring WebFlux application using Spring Session backed by Redis. What I'm trying to achieve: A user ...
Score of 0
0 answers
180 views

I'm building a full-stack application with: nextjs: job-portal springboot: backend-api I'm using session-based authentication in spring boot. After logging in (via standard username/password), the ...
Score of 1
1 answer
99 views

I'm building a Vaadin 23 + Spring Boot 2.7 application and trying to integrate Spring Session JDBC to expire sessions after 1 minute of inactivity. Problem: When I start the app, the browser (...
Score of 0
1 answer
148 views

I am using spring session for redis for my oauth2 login. I have implemented a custom principal. @Data @NoArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public final class ...
Score of 0
0 answers
48 views

I have a Usercontext Bean which is session based bean. UserContext has reference to User cache field which is window based. We have windowscope Bean which has userContext reference. I want to get User ...
Score of 1
1 answer
513 views

My application involves using Spring Session Redis to handle authenticated sessions across the application. Spring Session Redis is configured as-per the docs. @Configuration @EnableRedisHttpSession ...
Score of 1
1 answer
164 views

I am using Spring Boot 2.7.18 with Spring Session and MySQL to store sessions in the database, and my frontend is built with Angular. After logging in and being redirected back to my Angular app, the ...
Score of 0
0 answers
114 views

I'm implementing Spring Security with Spring Session for my cloud based application. Everything works correctly, the integration with Spring Session as well. But if I restart my application (For ...
Score of 0
0 answers
148 views

I am developing an application that consists of a gateway as a oauth2-client and an authorization server. I do not quite understand, based on what information, the session timeout for these services ...

15 30 50 per page
1
2 3 4 5
51