[jboss-jira] [JBoss JIRA] (ELY-1056) CS tool, Without --location parameter a credential store storage file isn't saved (or save as is expected).
Ilia Vassilev (JIRA)
issues at jboss.org
Wed May 3 10:20:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilia Vassilev updated ELY-1056:
-------------------------------
Git Pull Request: https://github.com/wildfly-security/wildfly-elytron-tool/pull/28, https://github.com/wildfly-security/wildfly-elytron-tool/pull/53 (was: https://github.com/wildfly-security/wildfly-elytron-tool/pull/28)
> 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 at 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.Alpha3/src/main/java/org/wildfly/security/tool/CredentialStoreCommand.java#L238
> (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!
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list