At least some users build on Spring Security to implement this - doing authentication etc. with Spring security and then asking it for roles, permissions etc. when deciding what to show.
There are examples using Spring security in Vaadin applications (google for “vaadin spring security” or search on the forum), although most of them do not go into detail about what to do after the initial authentication, and do not provide customized versions of the Spring security authentication processing and exception translation filters that would make such use more seamless. There would be room for a nice integration library with such filters and possibly links to view management, but I haven’t had the time to dig deeper into this.
Thanks for answering… In fact Spring Security (aka Acegi) is what I want to integrate in my application…
Spring Security manages roles and all those things…
I will look for any example out there, maybe some of them helps me to achieve my requirement.
@Kim: Have you used, personally, the appfoundation… it is stable and functional?
Yes, I’ve used AppFoundation, as I am the author of the add-on The add-on is fairly stable, there haven’t been any major changes in a while. I would believe it to be functional and if you find there is room for improvement, I’m more than happy to receive feedback and suggestions for improvement. AppFoundation is currently the third most downloaded add-on, with over 900 downloads. The add-on is extensively tested, unit tests covering over 96% of the code base.