Hynek Švábek created WFLY-7876:
----------------------------------
Summary: Doesn't work to define {EXT} command with parameters.
Key: WFLY-7876
URL:
https://issues.jboss.org/browse/WFLY-7876
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Doesn't work to define {EXT} command with parameters.
For {CMD} is everything OK.
*You can try it by this command (you must replace path to some real file).*
/subsystem=elytron/credential-store=CredStore011:add(uri="cr-store://test/cs999.jceks",
credential-reference={type=COMMAND, clear-text="{EXT}/real/path/to/script/pass-ely.sh
par011"})
*Result is this error msg:*
{code}
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.credential-store.CredStore011" =>
"org.jboss.msc.service.StartException in service
org.wildfly.security.credential-store.CredStore011: WFLYELY00004: Unable to start the
service.
Caused by: java.io.IOException: Cannot run program
\"/real/path/to/script/pass-ely.sh par011\": error=2, No such file or directory
Caused by: java.io.IOException: error=2, No such file or directory"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.credential-store.CredStore011"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)