0 Replies Latest reply on Dec 5, 2012 2:34 PM by Filippe Spolti

    Jboss 3.X - Encrypt DataSources Passwords

    Filippe Spolti Novice

      Hello,

      I was encrypting the passwords of some data source and came across jboss 3.
      The traditional way to do this is not working ...

      Does anyone know if any other particularity for cases like these?

      In Data Source I have set up:

                   <security-domain>TesteDS</ security-domain>

      and login-config.xml:

       

               <application-policy name = "TesteDS">
                       <authentication>
                               <login-module code = "org.jboss.resource.security.SecureIdentityLoginModule" flag = "required">
                                       <module-option name="username">usuario</ module-option>
                                       <module-option name="password">-sd1sfsdffegf34g00afe22a7146c32</module-option>
                                       <module-option name="managedConnectionFactoryName">jboss.jca
      :name=TesteDS,service=LocalTxCM</module-option>
                               </ login-module>
                       </ authentication>
               </ application-policy>

      Regards.