users@glassfish.java.net

Re: password for encryption ? where ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Tue, 24 Feb 2009 09:44:39 +0100

the options we have:

1) an env-var in the ejb-jar.xml

<env-entry>
    <env-entry-name>key1</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>8ubc498buvy498u49</env-entry-value>
</env-entry>

2) in the domain-passwords file
3) in a simple properties in the root of the domain (yes, it works)

so, I will go with the option #1 for now.. I guess it is the simplest option...

I will include a redirection mapping also, to allow my confirmation
servlet to redirect the customer to the help or login page after the
confirmation.........