1 Reply Latest reply on Jul 10, 2004 12:26 PM by starksm64

    connection username password

    mayte

      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

        • 1. Re: connection username password
          starksm64

          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.