0

I am using Tomcat 10 and added a JDBC data source in server.xml with clear text password. I want to use an encrypted database password for security purposes.

How can I add a custom data source factory in server.xml file of Tomcat 10 to achieve data source password encryption/decryption?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
  • Just as a side note, the encryption can happen within your Java code, at the application layer. You don't necessarily have to rely on the database for encrypting/hashing passwords. – Tim Biegeleisen Aug 20 '21 at 06:36
  • Related: [tomcat server.xml encrypted password](https://stackoverflow.com/questions/45607316/tomcat-server-xml-encrypted-password) – Mark Rotteveel Aug 20 '21 at 08:02

0 Answers0