Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8602

Credential store has configuration in "uri" attribute.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 11.0.0.Beta1
    • None
    • Security
    • None

    Description

      Credential store has configuration in "uri" attribute. All parameters are in one string. It can be confusing and there is risk of typo (e.g. delimiter typo)
      In my opinion the main intention for it is to have general solution for custom implementation.

      Current state

      /subsystem=elytron/credential-store=cs001:add(uri="cr-store://test/cs/keystore.jceks?store.password=pass123;create.storage=true")
      

      Suggestion for improvement:
      Better solution to achieve this could be use a map.
      e.g. some like that:

      /subsystem=elytron/credential-store=credStore:add(cs-map={store.password=pass123, create.storage=true, store.file=path/to/cred/file})
      

      Now credential store name is in URI too, it can be get from resource name.

      Attachments

        Issue Links

          Activity

            People

              pskopek@redhat.com Peter Skopek
              pskopek@redhat.com Peter Skopek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: