I use the UsersRolesLoginModule for securing access to the EJB. I read in the generis-ds.xml file that there appers to be a way to have JBoss use the credentials the user provided for accessing a JDBC-Datasource. I have the code working when I hardcode a login/password combination into the datasource definition .xml, but for several reasons it is almost a "must" to use distinct dbs-logins for different users. Can anybody put me into the right direction? I unfortunately didn't find any documentation on this topic.