I have a problem with my bmp ejbs. I need to audit the changes made for the different users, the problem is that i can't find the way to get the username and password, i need to make getconnection(username,password)
in my ejbStore(). Is there any way to do it?
Thanks in advance
Use a datasource security configuration that uses the CallerIdentityLoginModule so that the connection automatically uses the caller's credentials. You then obtain the connection without passing any arguments and the jca layer does it for you.