users@glassfish.java.net

Re: Securing JDBC password

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 17:50:06 PST

This is how you can use update-password-alias programmatically:

1. create a file for the passwords (password.txt), with the following entries:
AS_ADMIN_PASSWORD=<admin password>
AS_ADMIN_ALIASPASSWORD=<alias password>

2. asadmin update-password-alias --passwordfile <passwordfile.txt> -u <admin-user> -p <admin-port> aliasname

Note: to use update-password-alias command, you must have a password alias created using "create-password-alias" command first.

Please read Kedar's article on "Aliasing of Passwords in AppServer": http://wiki.glassfish.java.net/attach/GlassFishAdministrationPages/aliased-passwords.html

HTH,
Jane
[Message sent by forum member 'janey' (janey)]

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