jeanmoura@gmail.com said:
>The password to access database through JNDI is cleartext and it's
>placed in my tomcat server (/conf/catalina/localhost).
>
>Is there a way to encrypt this password in my JNDI file?
Pretty much no. And even if there were, all tools and keys needed to
decrypt it would have to be located in (or available to, which amounts
to the same thing) Tomcat.

Signature
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)