Open CMD
Open directory for JBOSS bin folder like.
Run add-user.bat file
It will ask for type of user to add. Type ‘a’ to add Management user and press enter
It will ask Real details. Leave empty and press enter
Type user name
Type password and also reconfirm it. (Note: Password will not be visible)
For any other confirmation, press ‘y’.
Similarly add application user. For application user you also have to type roles at one stage. Roles can be one or for many roles type comma separated roles. So you can write roles like: administrator, appuser