Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9605

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR16
    • 7.1.0.DR13
    • Web Console
    • 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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: