tomcat-password-encryption
Library to encrypt tomcat resources password.
- Use encryption-util to generate encrypted password with supplied secret Key
- Update key in AppUtil of encryption-lib and build it.
- Use the required Factory class in server/context configuration with encrypted password
- Copy the library obtained from step 2 to tomcat classpath
Tested with Tomcat DBCP and C3Po based connection pooling.
Please feel free to use and report issue.
Please note that this lib can be used in any server/jvm as long as the library kept in the classpath and factory bean refered to the encrypted class name.