To add new users to the properties file used for domain
management authentication, navigate to [JBOSS_HOME/bin] and run
the add-user.sh/add-user.bat. A wizard would present a series of
questions. Choose the answers as given below:
-
For question
What type of user do you wish to add?
choose
a) Management User (mgmt-users.properties).
-
For question
Enter the details of the new user to add
.
Enter username of the slave nodes. Ensure that the username of the
slave nodes is identical to the names configured in step
3.4.2 Configuring interface for the slave nodes
. For example, slave1, slave2
-
(Optional) For question
What groups do you want this user to belong to?
Enter
the group the user belongs to.
-
For question
About to add user '<Username>' for realm 'ManagementRealm'. Is this correct?
Type
yes and press return.
-
For question
Is this new user going to be used for one AS process to connect to another AS process?e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
Enter
yes.
After the last step, you are presented with a secret
value. The secret value is used to configure authrntication for
the slave nodes.
Note:
Repeat above steps for all the slave nodes.
|
|
|