[jboss-jira] [JBoss JIRA] (ELY-695) Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.

Hynek Švábek (JIRA) issues at jboss.org
Thu Oct 27 10:01:00 EDT 2016


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

Hynek Švábek updated ELY-695:
-----------------------------
    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/credential-store=credStore:add(uri="cr-store://test/cs/scratchSC.jceks?create.storage=true;store.password=pass123"
*  /subsystem=elytron/credential-store=credStore/alias=ff:add(secret-value=Elytron)
*  /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference= {store=credStore,alias=ff})
* /subsystem=elytron:remove()

  was:
*    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/credential-store=credStore:add(uri="cr-store://test/cs/scratchSC.jceks?create.storage=true;store.password=pass123"
*  /subsystem=elytron/credential-store=credStore/alias=ff:add(secret-value=Elytron)
*  /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference= {store=credStore,alias=ff})
* /subsystem=elytron/credential-store=credStore:remove()



> Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-695
>                 URL: https://issues.jboss.org/browse/ELY-695
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Credential Store, KeyStores
>            Reporter: Hynek Švábek
>            Assignee: Darran Lofthouse
>
> Is impossible remove whole Elytron subsystem by one command when Elytron resource depends on another Elytron resource.
> *Scenario:*
> * I have KeyStore in Elytron subsystem with CredentialStoreReference set to CredentialStore
> * I want to delete whole Elytron subsystem
> * I execute this CLI command */subsystem=elytron:remove()* and get error
> {code}
> {
>     "outcome" => "failed",
>     "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
> Service org.wildfly.security.credential-store-client.credStore was depended upon by service org.wildfly.security.key-store.firefly",
>     "rolled-back" => true
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)



More information about the jboss-jira mailing list