[jboss-jira] [JBoss JIRA] (ELY-1084) CS tool, There is success message when we try to remove non-existents entry from storage file.
Michal Petrov (JIRA)
issues at jboss.org
Mon Apr 24 07:21:01 EDT 2017
[ https://issues.jboss.org/browse/ELY-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Petrov reassigned ELY-1084:
----------------------------------
Assignee: Michal Petrov (was: Darran Lofthouse)
> CS tool, There is success message when we try to remove non-existents entry from storage file.
> ----------------------------------------------------------------------------------------------
>
> Key: ELY-1084
> URL: https://issues.jboss.org/browse/ELY-1084
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Reporter: Hynek Švábek
> Assignee: Michal Petrov
>
> When we try remove non-existent alias entry from credential store storage file then we get success message.
> There is expected error message.
> *How to reproduce:*
> Create credential store storage file and add there alias
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> {code}
> We run command for remove alias from storage and in both cases we get success message:
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list