I'm using the TomEE 1.0.0+ stack developing a JEE6 Web App, and I'm
looking for a way to make userspecific JTA EntityManager's using CDI or
Resource injections.

The reason for this is the users in the system are created in a LDAP
directory and used by Tomcat (TomEE) and the database server for
authentication. So after a user has logged in on a JSF form the same
username and password should be used to make EntityManager's.

It seems that the JPA is designed to use only one username and password
for all users of the application.

Have anyone succesfully created a completely user-specific web
application all the away down to the databaselevel and anywhere else?

Reply via email to