In the event the ALES administrator password is lost, the generatePasswordHash
(bat
or sh
) utility can be used to reset it and restore access to the Administration Console and Entitlements Management Tool.
Follow these steps to reset the ALES administrator password:
/ales30-admin/bin
and enter the following:generatePasswordHash.bat <new_password
>
This generates a hashed password. In the following example, the hashed password is shown inside square brackets.
hash result is
[
{SHA1}pvGBjCW7IS5jCM1e9dYR/EtCTojHjqk=
]
BEA_HOME\ales30-admin\config\database.properties
.
SQL> update adminuser set password = '<
hash_password
>' where userid = '//user/asi/system/';
hash_password
> is the hashed password generated in step 1.
SQL> update adminuser set password = '{SHA1}pvGBjCW7IS5jCM1e9dYR/EtCTojHjqk=' where userid = '//user/asi/system/';
password.xml/password.key
file, open a command window in BEA_HOME/ales30-admin/bin
and execute:asipassword.bat <admin_username> <BEA_Home
>\ales30-shared>\keys\password.xml <BEA_Home
>\ales30-shared>\keys\password.key
Note: | This entry is one line. |
<admin_username>
is the ALES administrator username (be default, system
)
<BEA_Home> is BEA_HOME, for example c:\bea