[jboss-jira] [JBoss JIRA] (WFCORE-2618) CS tool, Without --location parameter a credential store storage file isn't saved (or save as is expected).
Hynek Švábek (JIRA)
issues at jboss.org
Tue Apr 4 02:33:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13388209#comment-13388209 ]
Hynek Švábek commented on WFCORE-2618:
--------------------------------------
[~ivassile]
Wildfly-elytron-tool is located in wildfly-elytron project -> ELY project is right for this issue.
> CS tool, Without --location parameter a credential store storage file isn't saved (or save as is expected).
> -----------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-2618
> URL: https://issues.jboss.org/browse/WFCORE-2618
> Project: WildFly Core
> Issue Type: Bug
> Affects Versions: 3.0.0.Beta11
> 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