users@glassfish.java.net

Re: Securing JDBC password

From: <glassfish_at_javadesktop.org>
Date: Thu, 29 Nov 2007 22:34:47 PST

Richard,
Yes, unfortunately, there is no AMX equivalent for doing this. Check with llc_at_dev.java.net if
there exists one. I don't think there is one.

You can consider piping the stdin of sub-process to the stdout of the forking process and
securely pass the password when the subprocess waits for it. I guess that's the only way you
can do it without writing the database password on disk for a short period of time.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

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