What is the default console admin password for Jboss EAP 6

What is the default admin console password for Jboss EAP 6 ..?

This prevents me from seeing the admin console without a password. And I can not find the configuration page.

Please advice.

+8
source share
3 answers

You need to add a user to access the admin console in JBoss to do this.

  • go to JBOSS_HOME \ bin
  • run add-user script
  • add as user management.

You are ready to go to the admin console at http: // {localhost: 9990}. Hope it helps.

+9
source share
  • go to JBOSS_HOME \ bin, run add-user script, add control user

    What type of user do you want to add?

    a) User management (mgmt -users.properties)

    b) Application user (application-users.properties)

    (a): a

    Enter the details of the new user to add.

    Realm (ManagementRealm): ManagementRealm

    Username: yourname

    Password: your password

  • you will get a secret value after a user is successfully added

    To represent the user add the following to the server-identities definition <secret value="*somevalue*" /> 
  • add this secret to JBOSS_HOME \ domain \ configuration \ host.xml

     <security-realm name="ManagementRealm"> <authentication> <local default-user="$local" /> <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/> </authentication> <server-identities> <secret value="*somevalue*" /> </server-identities> </security-realm> 
  • you can log in to the admin console using the newly added username and password

+9
source share

As mentioned earlier, there is no default value, you just need to create it by calling add-user.sh or add-user.bat script.

Here you will find documentation from Redhat ... basically what is said above. I would just like to highlight step 3 in the documentation:

3. Select an area for the user.

The next prompt indicates the area in which the user will be added. For a user with permissions to manage JBoss Enterprise Application Platform 6, select the default value, which is ManagementRealm .

If you need access to the console, just leave the default area.

+1
source share

All Articles