Role Management

I’m not quite sure what you mean. If you are looking for role based access control, then take a look at the
Application Foundation
and its
authorization module
, it will provide you with an easy-to-use, role based permission management. If you are just looking at storing data in session variables, then remember that Vaadin is statefull, so it will suffice that you have a reference to the data in normal class variables. To access a class variable in a static way, take a look at the
ThreadLocal pattern
.