yes, there is, search http://tomcat.markmail.org for the same org.apache.tomcat.util.digester.PROPERTY_SOURCE is a system property where you can add the code that digests properties in server.xml This code can 'decode' your encoded properties
----- Original Message ----- > From: "Bill Wang" <bw57...@gmail.com> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Wednesday, May 23, 2012 11:34:10 PM > Subject: encrypt the database password > > Hi All, > > There is a tomcat server with some database setup. > > cd apache-tomcat-6.0.29/conf > cat server.xml > > <Resource auth="Container" > driverClassName="oracle.jdbc.driver.OracleDriver" > > factory="oracle.jdbc.pool.OracleDataSourceFactory" > maxActive="20" > maxIdle="10" maxWait="-1" name="jdbc/abc" > password="abcADMIN" > type="oracle.jdbc.pool.OracleDataSource" > > url="jdbc:oracle:thin:@localhost:1521:mydb" user="abc" /> > > > So which the plain password, end user may get the password directly. > > > How can create encrypted password within server.xml > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org