I lost the Glassfish administrator password

Asked

Viewed 782 times

2

I lost the password of the Glassfish admin account, how should I proceed? To update the password I need the old password, which I lost. It has to work directly on the files to reset?

  • 1

    This link resolves? https://documentacao.senior.com.br/bancodesolucoes/acesso-security/5091.htm

1 answer

2


The only way I have found to date is by changing the configuration file called admin-keyfile which gets into:

$GLASSFISH_HOME$\glassfish\domains\domain1\config\admin-keyfile

Remove the content (or just comment on the content), replacing it with the one below:

admin;{SSHA}WQVj8i9CLECCiv+w6ZxGgMrcfPqHPoXZW+2Jdw==;asadmin

With this, the password will be reset to the default, which is not having password.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.