I am interested in the best practice in authentication in Vaadin I think there is mainly two option here:
- ThreadLocal (can cause Out of memory, can have the same thread for different users)
- Spring Security + Vaadin integration (seems a little too much)
Which one do you prefer and why? (Security issues, easy development, other factors)