Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1777

Revisit the way how installer adds the administration user to the EAP

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.0.0.ER1
    • 7.0.0.DR13 (Alpha)
    • Installer
    • None

    Description

      Since it doesn't seem that WFCORE-306 will make it into EAP 7.0, we should revisit the way how installer adds the administration user to the EAP.

      Looking to default mgmt-users.properties file after unzipping the EAP, there is commented out text which could help users with the usage of add-user utility, see http://pastebin.test.redhat.com/325698.

      Adding a user via add-user script will append the user to the end of the file, also notice the REALM_NAME which is used by add-user utility, see http://pastebin.test.redhat.com/325699

      Now run the installer, create a "admin" user during installation and see the differences in mgmt-users.properties files between unzipped and installed distributions, see http://pastebin.test.redhat.com/325701 for mgmt-users.properties file after installation procedure.

      things of interest
      - all commented out text is missing
      - REALM_NAME is missing

      Looking to the add-user script, user is created by following command:

      java -jar ${JBOSS_HOME}/jboss-modules.jar  -mp ${JBOSS_HOME}/modules org.jboss.as.domain-add-user $USER_NAME 
      

      Since the EAP is already installed by the time of user creation, installer could utilize domain-add-user utility as well making the user creation consistent with zip distribution.

      Attachments

        Activity

          People

            thauser_jira Thomas Hauser (Inactive)
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: