Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2427

Credential store has configuration in "uri" attribute.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.0.0.Beta16
    • None
    • Security
    • None

      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.

            pskopek@redhat.com Peter Skopek
            hsvabek_jira Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: