Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10383

WildFly Elytron Tool, There is success message when we try to remove non-existents entry from storage file.

XMLWordPrintable

      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

      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
      

      We run command for remove alias from storage and in both cases we get success message:

      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
      

              mpetrov@redhat.com Michal Petrov
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m