Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1095

Elytron modifiable realms should show existing identities in subsystem

    Details

    • Steps to Reproduce:
      Hide
      1. /subsystem=elytron/filesystem-realm=realm:add(path=/tmp/realm)
      2. /subsystem=elytron/filesystem-realm=realm/identity=user:add
      3. /subsystem=elytron/filesystem-realm=realm/identity=user:read-identity
      4. reload
      5. /subsystem=elytron/filesystem-realm=realm/identity=user:read-identity FAILS
      6. /subsystem=elytron/filesystem-realm=realm/identity=user:add FAILS
      Show
      /subsystem=elytron/filesystem-realm=realm:add(path=/tmp/realm) /subsystem=elytron/filesystem-realm=realm/identity=user:add /subsystem=elytron/filesystem-realm=realm/identity=user:read-identity reload /subsystem=elytron/filesystem-realm=realm/identity=user:read-identity FAILS /subsystem=elytron/filesystem-realm=realm/identity=user:add FAILS

      Description

      Elytron filesystem-realm should load existing identities from file system. The steps to reproduce results in:

      [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=realm/identity=user:read-identity
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0216: Management resource '[
          (\"subsystem\" => \"elytron\"),
          (\"filesystem-realm\" => \"realm\"),
          (\"identity\" => \"user\")
      ]' not found",
          "rolled-back" => true
      }
      [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=realm/identity=user:add
      {
          "outcome" => "failed",
          "failure-description" => "WFLYELY01000: Identity with name [user] already exists.",
          "rolled-back" => true
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  honza889 Jan Kalina
                  Reporter:
                  honza889 Jan Kalina
                  Tester:
                  Ondrej Kotek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: