Setting the JBOSS JDBC encrypted password for Oracle#

Edit /opt/novell/idm36/jboss-4.2.2.GA/server/IDMProv/conf/login-config.xml

Near the bottom of the file is the encrypted password.

To encrypt a new password, run this from /opt/novell/idm36/jboss

java -cp lib/jboss-common.jar:server/default/lib/jbosssx.jar:server/default/lib/jboss-jca.jar org.jboss.resource.security.SecureIdentityLoginModule password

Replace "password" at the end of the command with the new password.

This returns

Encoded password: new password encoded

Enter new password in the login-config.xml file

<!-- EncryptDBPassword -->
    <application-policy name = "EncryptDBPassword">
       <authentication>
          <login-module code = "org.jboss.resource.security.SecureIdentityLoginModule"
             flag = "required">
               <module-option name = "username">iadb</module-option>
               <module-option name = "password">-4563c1bef94f95f4</module-option>
               <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=IDMUADataSource</module-option>
         </login-module>
      </authentication>
    </application-policy>
<!-- End EncryptDBPassword -->

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 24-May-2008 13:26 by Tim Edmonds