If you are planning to add new users to your management interfaces, then you need use the add-user.sh/add-user.bat file.
The users defined in the management realm are used for the authentication of remote CLI clients. By definition all HTTP access is considered remote, thus if you want to use the Web administration console you will need to define users at first.
This utility requires the following pieces of information for the new user: –
- Type – You can choose between application users (contained in application-users.properties) and management users (mgmt-users.properties) which is default.
- Realm – this is the name of the realm used to secure the management interfaces, by default it is ‘ManagementRealm’ so you can just press enter, if you change the realm as described below this is where you need to enter your new realm name.
- Username – the username needs to be alpha numeric.
- Password – At the moment the main restriction on this field is that is can not be the same as the username.
Here’s how to add a new Management user.
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
Enter the details of the new user to add.
Realm (ManagementRealm) :
Username : user1234
Re-enter Password :
About to add user 'user1234' for realm 'ManagementRealm'
Is this correct yes/no? yes