1 Reply Latest reply on Feb 28, 2008 1:47 AM by jaikiran

    Hide pasword in oracle-ds.xml

    anny_lut

      Is it possible to hide or crypt password in oracle-ds.xml file

      smth like that


       <user-name>jboss_usr</user-name>
       <password>***</password>
      



      and to prevent that this information was visible in server.log
      like this:

      2008/02/27 18:45:46 internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807
      2008/02/27 18:45:46 internalRegisterPool: about to notify thread: old next: 1204131196130, new next: 1204131196130
      2008/02/27 18:45:46 run: IdleRemover notifying pools, interval: 450000
      2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty}
      2008/02/27 18:45:46 Checking driver for URL: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest
      2008/02/27 18:45:46 Driver not yet registered for url: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest
      2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty}
      2008/02/27 18:45:46 Driver not yet registered for url: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest
      2008/02/27 18:45:46 Listener.handleNotification(), notification: javax.management.timer.TimerNotification: type=Schedule source=jboss:service=Timer sequence=3 time=1204130746500 message=Scheduler Notification id=2 userData=null
      2008/02/27 18:45:46 Scheduler is started: true
      2008/02/27 18:45:46 Remaining Repititions: -1, wait for next call to stop: false
      2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty}
      2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty}