I have configured a encrypt-password security domain in the login-config.xml file for my oracle datasource, and it is finally working as expected. My question is how I can use the same domain for another datasource (in the same oracle-ds.xml file). Is it even possible, or will I have to create another domain "encrypt-password-2" and then associate that with this other datasource pointing to a different oracle database. Please help, this is very urgent!
Thank you very much for the help, in advance!
If it was that urgent, why didn't you try to see if you could do it? Only takes a few minutes.
But to answer the question, as far as I know, this is doable, provided that the second database accepts the same userid and password . If the database required different credentials, you need a second security domain.