users@glassfish.java.net

Securing JDBC password

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 00:56:53 PST

Hello,

How can I protect password for JDBC connection pool?

Our security policy requires database administrators to generate new password every few weeks and this password is encrypted into a file on filesystem.

I can read this password and change resource pool password programatically but password is written into domain.xml in plain format which is forbiden.

Is there some (preferably easy) solution for this?

I know about aliases but how can I use them programatically?

Thanks,
Richard
[Message sent by forum member 'cerveny_richard' (cerveny_richard)]

http://forums.java.net/jive/thread.jspa?messageID=247306