dev@glassfish.java.net

Re: [v3] How to get admin password

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 02 Apr 2008 17:54:26 -0700

Claudio Miranda wrote:
> How to get the admin password, where the admin user have authenticated ?
> I see the admin users and hashed password are stored at
> domains/domain1/config/admin-keyfile and are SSHA encrypted, so this
> is not reversible.
> But what about getting the password the user had provided at the
> admin console ?
> I want to encrypt a text by using this password as the secret key
>
> Cheers
>

Claudio,

What are you trying to achieve?

The server (correctly) does not know the admin password
in clear text. It only has access to its Secure SHA.

If you want to use anything as a key, you better make it
explicit to the users.

Thanks,
Kedar