ashuji
asked on
Encrypt Oracle Datasource Password in JBoss 5
HI
I am hosting my java based application on RHEL based server and Jboss 5 application server and using Oracle RAC as backend. I am keeping my datasource information in deploy/oracle-ds.xml file and password is also stored in plain text formant.
Please suggest procedure to keep the datasource password in encrypted form. Here below are extract of oracle-ds.xml file:
<datasources>
<local-tx-datasource>
<jndi-name>OracleDS</jndi- name>
<connection-url>
jdbc:oracle:thin:@(descrip tion=(addr ess=(proto col=tcp)(h ost=ORACLE _SERVER_HO STNAME)(po rt=1521))( connect_da ta=(server =dedicated )(service_ name=DB_SE RVICE_NAME )))
</connection-url>
<driver-class>oracle.jdbc. driver.Ora cleDriver< /driver-cl ass>
<user-name>ORACLE_USER</us er-name>
<password>ORACLE_PASSWORD< /password>
<min-pool-size>0</min-pool -size>
<exception-sorter-class-na me>org.jbo ss.resourc e.adapter. jdbc.vendo r.OracleEx ceptionSor ter</excep tion-sorte r-class-na me>
</local-tx-datasource>
I am hosting my java based application on RHEL based server and Jboss 5 application server and using Oracle RAC as backend. I am keeping my datasource information in deploy/oracle-ds.xml file and password is also stored in plain text formant.
Please suggest procedure to keep the datasource password in encrypted form. Here below are extract of oracle-ds.xml file:
<datasources>
<local-tx-datasource>
<jndi-name>OracleDS</jndi-
<connection-url>
jdbc:oracle:thin:@(descrip
</connection-url>
<driver-class>oracle.jdbc.
<user-name>ORACLE_USER</us
<password>ORACLE_PASSWORD<
<min-pool-size>0</min-pool
<exception-sorter-class-na
</local-tx-datasource>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER