Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1365

Not possible to add Elytron policy resource using web console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.Final
    • None
    • None
    • None
    • Hide
      1. Start EAP with e.g standalone-full-ha config.
      2. Using web console navigate Subsystems > Security - Elytron > Other > View > Other > Policy > Add
      3. Enter jacc for Name and jacc for Default policy
      4. Save
      Show
      Start EAP with e.g standalone-full-ha config. Using web console navigate Subsystems > Security - Elytron > Other > View > Other > Policy > Add Enter jacc for Name and jacc for Default policy Save

    Description

      Adding resource using web console fails with following error:

      Unexpected HTTP response: 500
      
      Request
      {
          "name" => "jacc",
          "default-policy" => "jacc",
          "address" => [
              ("subsystem" => "elytron"),
              ("policy" => "jacc")
          ],
          "operation" => "add"
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => "Could find policy provider with name [jacc]",
          "rolled-back" => true
      }
      

      In contrary both following CLI commands seem to work (at least somehow):

      /subsystem=elytron/policy=jacc:add(jacc-policy=[{name=jacc}])
      
      /subsystem=elytron/policy=jacc:add(jacc-policy=[{name=jacc}], default-policy=jacc)
      

      Attachments

        Issue Links

          Activity

            People

              cmiranda@redhat.com Claudio Miranda
              cmiranda@redhat.com Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: