[jboss-jira] [JBoss JIRA] (ELY-1084) CS tool, There is success message when we try to remove non-existents entry from storage file.

Hynek Švábek (JIRA) issues at jboss.org
Tue Apr 18 06:23:00 EDT 2017


Hynek Švábek created ELY-1084:
---------------------------------

             Summary: 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
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


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