]
Ilia Vassilev moved WFCORE-2618 to ELY-1056:
--------------------------------------------
Project: WildFly Elytron (was: WildFly Core)
Key: ELY-1056 (was: WFCORE-2618)
Affects Version/s: (was: 3.0.0.Beta11)
CS tool, Without --location parameter a credential store storage file
isn't saved (or save as is expected).
-----------------------------------------------------------------------------------------------------------
Key: ELY-1056
URL:
https://issues.jboss.org/browse/ELY-1056
Project: WildFly Elytron
Issue Type: Bug
Reporter: Hynek Švábek
Assignee: Ilia Vassilev
Without --location parameter a credential store storage file isn't saved (or save as
is expected).
It pass but I am not able find credential store storage file on disk.
{code}
[hsvabek@localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store --add
myalias --secret supersecretpassword --uri
"cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS"
--password mycspassword --summary
Alias "myalias" has been successfully stored
Credential store command summary:
--------------------------------------
/subsystem=elytron/credential-store=test:add(uri="cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="mycspassword"})
{code}
It pass with this URI value and I am able to find credential store storage file on disk.
{code}
uri="cr-store://credentialstorename/test.store?modifiable=true;create=true;keyStoreType=JCEKS"
{code}
I see problem here
https://github.com/wildfly-security/wildfly-elytron-tool/blob/1.0.0.Alpha...
(test.store is interpreded as hostname in URI in first case)
*NOTE*
Please keep in mind this issue
https://issues.jboss.org/browse/JBEAP-8450.
Behaviour must be consistent!