hello,
given a typical web application,
secured with JAAS, using a realm that maps to a table "User" in a database, and having an entity (JPA) User, which maps to the same table "User" which JAAS uses to authenticate and authorise -
what is the best way to retrieve an instance of User (e. g. in a
Servlet), corresponding to the one who is currently logged in?
It is a good idea to use the same table for JAAS and inside the application, isn't it?
Kai