Java Reference
In-Depth Information
running mode of the server. This file contains the username information along with a
pre-prepared hash of the username plus the name of the realm and the user's pass-
word.
To manipulate the files and add users, it has provided utilities such as
add-user.sh
and
add-user.bat
to add the users and generate the hashes. So just execute the
script and follow the guided process.
In order to create a new user you need to enter the following values:
•
Type of user
: The type will be
Management User
since it will manage
the application server
•
Realm
: This must match the realm name used in the configuration; so un-
less you have changed the configuration to use a different realm name,
leave this set to
ManagementRealm
•
Username
: This is the username of the user you are adding
•
Password
: This is the user's password
Provided the validation is successful, you will be asked to confirm if you want to add
the user; then the properties files will be updated.