glassfish
  1. glassfish
  2. GLASSFISH-15429

Modifying keyfile path in a newly created config does not properly list the users

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1_ms07
    • Fix Version/s: future release
    • Component/s: security
    • Labels:
      None

      Description

      1. asadmin copy-config default-config new-config
      2. asadmin get new-config.security-service.auth-realm.admin-realm.property.file
      new-config.security-service.auth-realm.admin-realm.property.file=$

      {com.sun.aas.instanceRoot}

      /config/admin-keyfile
      3. asadmin set new-config.security-service.auth-realm.admin-realm.property.file=/tmp/v3/admin-keyfile
      new-config.security-service.auth-realm.admin-realm.property.file=/tmp/v3/admin-keyfile
      Command set executed successfully.
      4. file /tmp/v3/admin-keyfile is not currently created.
      5. asadmin create-file-user --authrealmname admin-realm --target new-config test
      Enter the user password>
      Enter the user password again>
      Command create-file-user executed successfully.
      6. cat /tmp/v3/admin-keyfile
      test;

      {SSHA256}mjyhJFWxU8xUnGMY5bt+ngwj3tf6v6yOTKB7DgGKJUu6Neky/GVOsQ==;asadmin
      user1;{SSHA256}

      rImtlHJuqi6AMSypIUyBdcs2CUEPQq3pIEHSEsndYQmhBl4ZBT+fJA==;user1
      <user test is properly added to admin-keyfile under /tmp/v3 as expected.>
      8. asadmin list-file-users --authrealmname admin-realm new-config
      user1
      Command list-file-users executed successfully.
      <Expected is test,user1 but it lists user1 which it takes from $

      {instance_root}

      /domains/domain1/config/keyfile but it should list from /tmp/v3/admin-keyfile>

      The list-file-users needs to be fixed to list from /tmp/v3/admin-keyfile

        Issue Links

          Activity

          srinik76 created issue -
          srinik76 made changes -
          Field Original Value New Value
          Link This issue blocks GLASSFISH-15406 [ GLASSFISH-15406 ]
          kumarjayanti made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Cannot Reproduce [ 5 ]
          Anissa Lam made changes -
          Priority Blocker [ 1 ] Major [ 3 ]
          srinik76 made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          kumarjayanti made changes -
          Fix Version/s 3.1_ms08 [ 11017 ]
          Tags 3_1-review
          Anissa Lam made changes -
          Tags 3_1-review
          Anissa Lam made changes -
          Tags 3_1-approved
          kumarjayanti made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Anissa Lam made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          kumarjayanti made changes -
          Fix Version/s 3.2 [ 10969 ]
          Fix Version/s 3.1_ms08 [ 11017 ]
          Tags 3_1-approved 3_1-exclude 3_1-release-notes
          Scott Fordin made changes -
          Tags 3_1-exclude 3_1-release-notes 3_1-exclude 3_1-need_more_info 3_1-release-notes
          Scott Fordin made changes -
          Tags 3_1-exclude 3_1-need_more_info 3_1-release-notes 3_1-exclude 3_1-release-notes
          Scott Fordin made changes -
          Tags 3_1-exclude 3_1-release-notes 3_1-exclude 3_1-release-note-added 3_1-release-notes
          kumarjayanti made changes -
          Fix Version/s future release [ 11148 ]
          Fix Version/s 3.2 [ 10969 ]
          Tags 3_1-exclude 3_1-release-note-added 3_1-release-notes 3_1-exclude 3_1-release-note-added 3_1-release-notes 3_1-next
          kumarjayanti made changes -
          Tags 3_1-exclude 3_1-release-note-added 3_1-release-notes 3_1-next 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude
          kumarjayanti made changes -
          Tags 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed
          Nithya Ramakrishnan made changes -
          Tags 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed 3_1_2_exclude
          Nithya Ramakrishnan made changes -
          Tags 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed 3_1_2_exclude 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed
          Nithya Ramakrishnan made changes -
          Tags 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed 3_1-exclude 3_1-next 3_1-release-note-added 3_1-release-notes 3_1_1-exclude 3_1_1-scrubbed 3_1_2-exclude

            People

            • Assignee:
              kumarjayanti
              Reporter:
              srinik76
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: