glassfish
  1. glassfish
  2. GLASSFISH-6769

It would be very interesting to be able to customize the master password at first setup

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur2
    • Fix Version/s: not determined
    • Component/s: installation
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      6,769

      Description

      At first server setup, it is possible to customize quite a lot of informations:
      the domain name, the admin login, the admin password, several ports...

      But one thing is ignored: the new domain's master password.

      It is quite annoying...

      It would be very simple to add a property, so overridable, and write it into
      "passfile" before domain creation.

        Activity

        Hide
        mikeandrzejewski added a comment -

        Suggested patch:

        — setup.xml 2008-11-13 19:11:33.000000000 +0100
        +++ setup-proposed.xml 2008-11-13 19:10:59.000000000 +0100
        @@ -47,6 +47,7 @@
        <property name="instance.name" value="server"/>
        <property name="admin.user" value="admin"/>
        <property name="admin.password" value="adminadmin"/>
        +<property name="master.password" value="changeit"/>
        <property name="admin.port" value="4848"/>
        <property name="instance.port" value="8080"/>
        <property name="orb.port" value="3700"/>
        @@ -94,6 +95,9 @@
        <os name="Mac OS X"/>
        </condition>
        <echo file="$

        {adminpassfile}"
        append="false">AS_ADMIN_ADMINPASSWORD=${admin.password}</echo>
        + <echo file="${adminpassfile}

        " append="true">$

        {line.separator}</echo>
        + <echo file="${adminpassfile}"
        append="true">AS_ADMIN_MASTERPASSWORD=${master.password}</echo>
        + <echo file="${adminpassfile}" append="true">${line.separator}

        </echo>
        <available file="$

        {install.home}

        /lib/javaee.jar.pack.gz"
        property="run-jarunpack"/>
        </target>

        Show
        mikeandrzejewski added a comment - Suggested patch: — setup.xml 2008-11-13 19:11:33.000000000 +0100 +++ setup-proposed.xml 2008-11-13 19:10:59.000000000 +0100 @@ -47,6 +47,7 @@ <property name="instance.name" value="server"/> <property name="admin.user" value="admin"/> <property name="admin.password" value="adminadmin"/> +<property name="master.password" value="changeit"/> <property name="admin.port" value="4848"/> <property name="instance.port" value="8080"/> <property name="orb.port" value="3700"/> @@ -94,6 +95,9 @@ <os name="Mac OS X"/> </condition> <echo file="$ {adminpassfile}" append="false">AS_ADMIN_ADMINPASSWORD=${admin.password}</echo> + <echo file="${adminpassfile} " append="true">$ {line.separator}</echo> + <echo file="${adminpassfile}" append="true">AS_ADMIN_MASTERPASSWORD=${master.password}</echo> + <echo file="${adminpassfile}" append="true">${line.separator} </echo> <available file="$ {install.home} /lib/javaee.jar.pack.gz" property="run-jarunpack"/> </target>
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            mikeandrzejewski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: