Hynek Švábek created ELY-678:
--------------------------------
Summary: Credential-reference(alias=) should be resolved in time of request.
Key: ELY-678
URL:
https://issues.jboss.org/browse/ELY-678
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Affects Versions: 1.1.0.Beta10
Reporter: Hynek Švábek
Assignee: Peter Skopek
Attachments: credentialstore.jceks, firefly.keystore
Credential-reference should be resolved in time of request - in this case the alias which
contains wrong password in CredentialStore (we can change it later to right password...).
If I add credential reference with alias which contains wrong password then I get this
error:
{code}
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.key-store.fireflyWrong" =>
"org.jboss.msc.service.StartException in service
org.wildfly.security.key-store.fireflyWrong: WFLYELY00004: Unable to start the service.
Caused by: java.io.IOException: Keystore was tampered with, or password was
incorrect
Caused by: java.security.UnrecoverableKeyException: Password verification
failed"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.key-store.fireflyWrong"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
*When I reload server then same command pass!*
But I nowhere got information about reload-required
{code}
/subsystem=elytron/key-store=fireflyWrong:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference=
{store=credStore2,alias=ffWithWrongPass})
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)