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

Not possible to edit New Item Template of Elytron LDAP Key Store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9.5.Final
    • None
    • None
    • None
    • Hide
      1. start EAP with e.g. standalone-full-ha configuration
      2. using web console navigate to Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Other > SSL
      3. Create dir context
      4. Create LDAP Key store
      5. try to edit New Item Template of created LDAP Key Store
      Show
      start EAP with e.g. standalone-full-ha configuration using web console navigate to Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Other > SSL Create dir context Create LDAP Key store try to edit New Item Template of created LDAP Key Store

      User gets something like

      Unexpected HTTP response: 500
      
      Request
      {
          "operation" => "write-attribute",
          "address" => [
              ("subsystem" => "elytron"),
              ("key-store" => "testLKS")
          ],
          "name" => "new-item-template",
          "value" => {
              "new-item-attributes" => [
                  "test1",
                  "test2"
              ],
              "new-item-path" => "cesticka",
              "new-item-rdn" => "testRDN"
          }
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0201: Unknown attribute 'new-item-template'",
          "rolled-back" => true
      }
      

      There are two issues:

      • HAL is trying to edit key-store instead of ldap-key-store
      • HAL is trying to pass new-item-attributes as list of strings but it should be list of objects (with string name and list of strings value)

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

                Created:
                Updated:
                Resolved: