authentication and login for vaadin 7

hi everyone
i want to use vaadin as secure web application but i have problem with authentication. i need sample code for authentication. i see appfoundation but this is complex and i couln’t find any good smaple code. please help

Answered similar post
here

If you want to use appfoundation, you may want to check out the
authentication module’s documentation
. Note that it depends on the
persistence module
.

You may also want to use something more standard, such as
Apache Shiro
. I’ve written
an example
on how to intergrate Shiro with Vaadin.

hmmmmmmmmmmmmmmmmmm