Questions tagged [vaadin-session]
8 questions
4
votes
2 answers
How to provide current vaadin session to the old threads of thread pool?
I am facing a problem in understanding following quote of VaadinSession.getCurrent()
Gets the currently used session. The current session is automatically
defined when processing requests to the server and in threads started
at a point when the…

akash
- 22,664
- 11
- 59
- 87
2
votes
0 answers
changing -reinitialize- CSRF token in vaadin
currently i'm working on hardening the security of Vaadin project and stucked in the CSRF token, the main idea is that i have sessionID before the user login and change the SessionID after successful login to avoid session fixation, the same…

Murad Momani
- 21
- 1
1
vote
1 answer
VaadinSession attribute and updating session-bound components
I have a Vaadin Navigator with multiple View elements. Each view has a different purpose however some also contain common traits that I have put inside custom components.
One of those custom components is the menu - it is positioned at the top and…

rbaleksandar
- 8,713
- 7
- 76
- 161
0
votes
0 answers
View does not load and session attribute missing after reload
I have built this Vaadin application with Spring Boot and have a JWT based solution for security.
When the user authenticates into the application, I store the token in VaadinSession.
The problem I am facing is one specific view appears completely…

SriniMurthy
- 113
- 2
- 13
0
votes
0 answers
Vaadin session management
Please correct me if I'm wrong, but according to my understanding, VaadinSession has the same time to live as its owner HTTP session.
So, in order to configure the timeout for both Vaadin and HTTP sessions, we can use the following Spring Boot…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
0 answers
Defining own VaadinServlet/VaadinServletService/VaadinSession for Vaadin 23
I took a lookat the old Vaadin 14 Application Lifecycle Documentation. There you could configure your own Servlets, Services and Sessions.
I kinda need that, because I need to add on top of the regular Vaadin Sessions. Simply defining my own Classes…

marcobsidian
- 41
- 5
0
votes
0 answers
Can't move a node from one state tree to another ERROR with Vaadin23
I'm developing a simple application based on Vaadin 23 – Plain Java.
For the SessionManagement I created a class named AppServlet
public class AppServlet extends VaadinServlet implements SessionInitListener, SessionDestroyListener{...}
When I…

Luca Magnotta
- 15
- 5
0
votes
2 answers
Vaadin 14 addDestroyListener for session other way than by int SessionDestroyListener
is there any other way to add actions for destroying specific session in other way than by implementing SessionDestroyListener. I want to fire it in other places in code. For example i want to delete some data from static list that are assigned for…

Miłosz Bąbliński
- 169
- 8