I think I should do a white-paper on passwords in GlassFish.
Short answer: What is written in your ~/.asadminpass is an encoding (if you look closely at source,
you'll know what encoding -- hint "QkFTRTY0" is the encoded name of the encoding used, using
the same encoding ;) ) and it can easily be decoded using the standard techniques.
The admin-keyfile contains, as Byron points out, the secure one-way hash of the same password.
So, don't look at admin-keyfile, you'll never (?) get the password back from it :).
The best bet is:
- either decode the password using the encoding/decoding.
- back ~/.asadminpass file and then follow the instructions at:
http://blogs.sun.com/bloggerkedar/entry/an_appserver_faq#a1
Sorry to appear rather cryptic, but since this is password specific, I had to be :)
Regards,
Kedar
PS - Send an e-mail to me -- km_at_dev.java.net if you want to know more.
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=259996