You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Wilmoth <JW...@starbucks.com> on 2003/09/10 04:52:20 UTC

Encrypt passwords for JNDI Resources (Datasource specifically)

I'd like to be able to encrypt the database passwords used in the JDBC
pool configuration block. Is this possible in 4.1.27? 5.x? Something as
simple as base64 encoding would be fine, I just can't store it as easy
to read plain text.

Re: Encrypt passwords for JNDI Resources (Datasource specifically)

Posted by Tim Funk <fu...@joedog.org>.
 From the default distribution of tomcat - there is no way.

Just make sure the file is secure.

-Tim

Jon Wilmoth wrote:
> I'd like to be able to encrypt the database passwords used in the JDBC
> pool configuration block. Is this possible in 4.1.27? 5.x? Something as
> simple as base64 encoding would be fine, I just can't store it as easy
> to read plain text.
>