2 Replies Latest reply on Apr 26, 2007 1:53 PM by Chester Chee

    Using encrypted passwords in datasource config files directl


      I am wondeirng if there's any alternative to encrypt datasource passwords?

      I have followed http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords the link. However, my requirement is slightly variant.

      My requirement is to create the *-ds.xml with encrypted password quoted in the file itself.

      For example, the user-name and encrypted password are provided in the following config:


      I expect JBoss to read the encrypted password, decrypt it and then create the Datasource. BUT is this possible???

      So, can we provide an encrypted password in the *-ds.xml file itself so it can be decrypted?

      Any pointers much appreciated