Tomcat Encryptor

Tomcat Pool Encryptor

Harden your server security by encrypting sensitive database credentials (username, password, JDBC URL) in Tomcat configuration files. Features automatic runtime decryption for both DBCP2 and JDBC pools.

Infrastructure Security

🔐 Attribute Security

Encrypt almost all database resource attributes, ensuring no plain-text credentials exist in server.xml or context.xml.

🔄 Transparent Decryption

Custom factories automatically decrypt values at runtime, requiring zero changes to your Java application code.

🏢 Enterprise Support

Fully compatible with standard Tomcat JDBC and DBCP2 connection pools used in high-load production environments.

🛠️ Setup CLI

Includes a dedicated command-line utility to manually encrypt and test your credential strings during server setup.