]
Darran Lofthouse updated WFLY-7619:
-----------------------------------
Fix Version/s: 11.0.0.Alpha1
Is impossible remove whole Elytron subsystem when Elytron resource
depends on another Elytron resource.
-------------------------------------------------------------------------------------------------------
Key: WFLY-7619
URL:
https://issues.jboss.org/browse/WFLY-7619
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Jan Kalina
Fix For: 11.0.0.Alpha1
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}
*NOTES:*
* When I perform CLI command */subsystem=elytron:remove()* again as it passes.
* When I use for remove {allow-resource-service-restart=true} as
/subsystem=elytron:remove(){allow-resource-service-restart=true} then result is
successful.