]
Kabir Khan resolved WFLY-8602.
------------------------------
Fix Version/s: 11.0.0.Beta1
Resolution: Done
Credential store has configuration in "uri" attribute.
------------------------------------------------------
Key: WFLY-8602
URL:
https://issues.jboss.org/browse/WFLY-8602
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Peter Skopek
Assignee: Peter Skopek
Priority: Critical
Fix For: 11.0.0.Beta1
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*
{code}
/subsystem=elytron/credential-store=cs001:add(uri="cr-store://test/cs/keystore.jceks?store.password=pass123;create.storage=true")
{code}
*Suggestion for improvement:*
Better solution to achieve this could be use a map.
e.g. some like that:
{code}
/subsystem=elytron/credential-store=credStore:add(cs-map={store.password=pass123,
create.storage=true, store.file=path/to/cred/file})
{code}
Now credential store name is in URI too, it can be get from resource name.