Hynek Švábek created WFLY-7865:
----------------------------------
Summary: We cannot define CS file location outside of EAP directory
Key: WFLY-7865
URL:
https://issues.jboss.org/browse/WFLY-7865
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Priority: Critical
We aren't able define location of CS file outside of EAP directory. When user has CS
file on NFS he isn't able to reach this file.
Define CS file location to JBOSS_HOME/Standalone/data directory:
{code}
/subsystem=elytron/credential-store=CredStore001:add(uri="cr-store://test/cs123.jceks?create.storage=true",
credential-reference={clear-text=pass123}, relative-to=jboss.server.data.dir)
{code}
When I try set relative to TEMP directory:
{code}
/subsystem=elytron/credential-store=CredStore002:add(uri="cr-store://test/cs123.jceks?create.storage=true",
credential-reference={clear-text=pass123}, relative-to=java.io.tmpdir)
{code}
I get this error
{code}
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.server.path.\"java.io.tmpdir\""],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["org.wildfly.security.credential-store.CredStore002 is missing
[jboss.server.path.\"java.io.tmpdir\"]"]
},
"rolled-back" => true
}
{code}
*NOTE:*
*relative-to* is resolved here
https://github.com/wildfly-security/elytron-subsystem/blob/c223be428b9a6f...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)