Hi!
Help, please.
I would like for each user to make new connection to a database.
Now I have oracle-ds.xml, in him
<local-tx-datasource>
<jndi-name> OracleDS </jndi-name>
<connection-url> jdbc:oracle:thin: vvv103:1521:olg1 </connection-url>
<driver-class> oracle.jdbc.driver. OracleDriver </driver-class>
<user-name> JB33 </user-name>
JB33
<exception-sorter-class-name> org.jboss.resource.adapter.jdbc.vendor. OracleExceptionSorter </exception-sorter-class-name>
</local-tx-datasource>
How to me for each user to make connection with different user-name?
Beforehand is grateful
Read the "Caller Identity" section here:
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJCALoginModule