what is the default admin console password for Jboss EAP 6

Madhan picture Madhan · Apr 7, 2014 · Viewed 59.1k times · Source

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

Its not allowing me to see the administration console without password. And I can't find the configuration page also.

Please advice.

Answer

Jane picture Jane · Aug 7, 2014
  1. go to JBOSS_HOME\bin, run the add-user script, add an Management User

    What type of user do you wish to add?

    a) Management User (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 : yourpassword

  2. you will get an secret value after you add the user successfully

    To represent the user add the following to the server-identities definition <secret value="*somevalue*" />
    
  3. add this secret to the 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> 
    
  4. you can login to the admin console use that new added username and password