The best approach for user authentication in Vaadin 7?

What’s the best way to perform user authentication in Vaadin 7? we were using TransactionListener to handle that in Vaadin 6. it’s same as the one mentioned in this wiki page https://vaadin.com/wiki/-/wiki/Main/Authenticating+Vaadin-based+applications
However, TransactionListener class is no longer available in Vaadin 7. My scenario is system stores password and user name in database and check user’s credential at run time.

Vaadin 7 has what TransactionListener gives built in into the UI class. You can at any point call UI.getCurrent() without implementing anything extra.

Hi… Please guide me how to create simple login, password authentication form with using vaadin 6?