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

(7.1.z) Adding a credential store fails when location is not specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • 7.1.3.CR1
    • Security
    • Workaround Exists
    • Hide

      Define a location for the credential store.

      Show
      Define a location for the credential store.
    • Hide
       /subsystem=elytron/credential-store=cStore:add(create=true, modifiable=true, credential-reference={clear-text=clearText}) 
      Show
      /subsystem=elytron/credential-store=cStore:add(create= true , modifiable= true , credential-reference={clear-text=clearText})

    Description

      After JBEAP-14702, when adding a credential store without a specified location the CLI command fails:

      [standalone@localhost:9990 /]  /subsystem=elytron/credential-store=cStore:add(create=true, modifiable=true, credential-reference={clear-text=clearText})
      {
          "outcome" => "failed",
          "failure-description" => "WFLYELY00921: Location parameter is not specified for filebased keystore type 'JCEKS'",
          "rolled-back" => true
      }
      

      This is a regression against EAP 7.1.2, the same command executes without problems.
      Location is not a required attribute, so it should be possible to add a credential store without it.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              pmackay@redhat.com Peter Mackay
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: