[jboss-jira] [JBoss JIRA] (WFCORE-2427) Credential store has configuration in "uri" attribute.

Darran Lofthouse (JIRA) issues at jboss.org
Tue Mar 7 13:16:31 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse moved WFLY-7483 to WFCORE-2427:
------------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-2427  (was: WFLY-7483)
    Component/s: Security
                     (was: Security)


> Credential store has configuration in "uri" attribute.
> ------------------------------------------------------
>
>                 Key: WFCORE-2427
>                 URL: https://issues.jboss.org/browse/WFCORE-2427
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>            Reporter: Hynek Švábek
>            Assignee: Peter Skopek
>            Priority: Critical
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list