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

Credential store has configuration in "uri" attribute.

XMLWordPrintable

      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:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: