[jboss-jira] [JBoss JIRA] (WFCORE-3059) suggest-capabilities returns suffix when the capability contains a dot
Claudio Miranda (JIRA)
issues at jboss.org
Tue Jul 11 16:08:01 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claudio Miranda updated WFCORE-3059:
------------------------------------
Component/s: Security
> suggest-capabilities returns suffix when the capability contains a dot
> ----------------------------------------------------------------------
>
> Key: WFCORE-3059
> URL: https://issues.jboss.org/browse/WFCORE-3059
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Claudio Miranda
>
> Given the following operation to add credential-store.
> {code}
> /profile=full/subsystem=elytron/credential-store=store.foo:add(relative-to=jboss.server.data.dir, credential-reference={clear-text=pass123},create)
> /profile=full/subsystem=elytron/credential-store=store2:add(relative-to=jboss.server.data.dir, credential-reference={clear-text=pass123},create)
> {code}
> There is a problem related to the naming used in "store.foo", the suggest-capabilities operation will return only the suffix "foo" instead of the resource name "store.foo"
> {code}
> /host=master/core-service=capability-registry:suggest-capabilities(name=org.wildfly.security.credential-store,dependent-address=[("profile" => "full"),("subsystem" => "elytron"),("credential-store" => "*")])
> {
> "outcome" => "success",
> "result" => [
> "store2",
> "foo"
> ]
> }
> {code}
> This presents a problem for capability-reference, as the auto complete on CLI (using tab) and Web Console returns "foo" and "store2" as value.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list