Best Practice for Vaadin8+JavaEE7+JAAS

I am developping an Application with Vaadin 8 + JavaEE 7 + Wildfly 13

I want to integrate security with JAAS.

I save users in a database with username + password.

After this user has succesfully logged-in with username/password in my Application I want to give this users different Authorizaition in my Application

Have you here some best practice, tips or howtos?