users@glassfish.java.net

Questions about asadmin create-password-alias

From: <glassfish_at_javadesktop.org>
Date: Thu, 14 May 2009 07:47:55 PDT

Hi, I now have my JDBC datasource passwords encrypted using the asadmin tool and everything works fine.

1- Is the alias replaced once at startup or is it decrypted each time a new connection is added to the pool?

2- Can I place aliases in. web.xml as well?
I need to store an ecnrypted config value that I must pass to my servlet. If it canot be done.
Can I put my "value" as a command parameter such as -Dmyvalue=${alias=bla} and read the property in my servlet?
[Message sent by forum member 'infectedrhythms' (infectedrhythms)]

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