Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
1 replies
16 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 ...
Nicolas C's user avatar
  • 1,644
1 vote
2 answers
90 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; ...
grandouassou's user avatar
  • 2,550
0 votes
1 answer
120 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 ...
snowmanjack's user avatar
0 votes
0 answers
73 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 ...
K G S Varun Teja's user avatar
1 vote
0 answers
85 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 ...
DarkVaderM's user avatar
0 votes
0 answers
135 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 ...
Osteen Omega's user avatar
1 vote
1 answer
79 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 (...
K G S Varun Teja's user avatar
0 votes
1 answer
109 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 ...
Allen Bastian's user avatar
0 votes
0 answers
68 views

I have a simple Spring Boot application, which uses Oauth2 client and Spring Session Redis. It has default setup in application.yml: spring: session: store-type: redis redis: namespace:...
Aleksandr's user avatar
0 votes
0 answers
78 views

In my application im using spring session with redis as the data store. We track if a user is logged in/not based on the Session Destroyed event. Whenever we receive this event we will mark that ...
Supes's user avatar
  • 1
0 votes
0 answers
44 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 ...
Rohit Grover's user avatar
0 votes
0 answers
62 views

I found a problem, but I don't know how to solve it. If the data source is switched in the interceptor, the session will be executed with the context, resulting in the inability to find the session ...
Hello_World's user avatar
1 vote
1 answer
419 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 ...
nednella's user avatar
1 vote
1 answer
146 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 ...
Gladitor's user avatar
  • 136
0 votes
0 answers
106 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 ...
Mendi S's user avatar

15 30 50 per page
1
2 3 4 5
51