1 Reply Latest reply on Jul 23, 2003 7:15 AM by feldgen

    mysql-service.xml user/pass encrypted

    feldgen Newbie

      Hello,

      in order to encrypt my mysql-connect-data I want to put the encrypted data into a properties-file (db.user, db.pass), the data is decrypted by my first starting service and set to the correct values via System.setProperty("db.user", decryptedUser)
      Until then everything runs fine, except mysql-service.xml won't accept ${db.user}, output is then:
      Could not create connection; - nested throwable: (java.sql.SQLException: Invalid authorization specification: Access denied for user: '${db.user}@

      Is there any possibility to get this done ? I already checked Binding Services Manager but it doesn't seem to fit in this case. If I am wrong, plz correct me.

      As I don't have that much time to spend on this issue, every answer or guess is welcome!

      Thnx in advance,

      Lutz Feldgen