[jboss-jira] [JBoss JIRA] (ELY-677) Credential-reference should be resolved in time of request.

Hynek Švábek (JIRA) issues at jboss.org
Fri Oct 21 06:02:14 EDT 2016


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

Hynek Švábek updated ELY-677:
-----------------------------
    Steps to Reproduce: 
* firefly.keystore which is attached copy to eap_home/standalone/data/cs.
* run EAP server
./bin/standalone.sh
* run CLI
./bin/jboss-cli.sh -c
if applicaple add Elytron extension and Elytron subsystem and reload server
/extension=org.wildfly.extension.elytron:add()
/subsystem=elytron:add()
reload

* /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference={store=NonexistingCredentialStore,alias=ff})


 



  was:
* copy to firefly.keystore which is attached.
* run EAP server
./bin/standalone.sh
* run CLI
./bin/jboss-cli.sh -c
if applicaple add Elytron extension and Elytron subsystem and reload server
/extension=org.wildfly.extension.elytron:add()
/subsystem=elytron:add()
reload

* /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference={store=NonexistingCredentialStore,alias=ff})


 





> Credential-reference should be resolved in time of request.
> -----------------------------------------------------------
>
>                 Key: ELY-677
>                 URL: https://issues.jboss.org/browse/ELY-677
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Credential Store
>    Affects Versions: 1.1.0.Beta10
>            Reporter: Hynek Švábek
>            Assignee: Hynek Švábek
>         Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
>     ("subsystem" => "elytron"),
>     ("key-store" => "firefly")
> ]) - failure description: {
>     "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
>     "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list