[jboss-jira] [JBoss JIRA] (WFCORE-2880) remove-alias should fail when remove non-existent alias from credential store.

Farah Juma (JIRA) issues at jboss.org
Wed Jun 21 10:07:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-2880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424765#comment-13424765 ] 

Farah Juma commented on WFCORE-2880:
------------------------------------

As discussed with [~pskopek], going to update the remove-alias operation so that it fails when attempting to remove a non-existing alias to make it consistent with the remove alias command from the Elytron Tool.

> remove-alias should fail when remove non-existent alias from credential store.
> ------------------------------------------------------------------------------
>
>                 Key: WFCORE-2880
>                 URL: https://issues.jboss.org/browse/WFCORE-2880
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>            Reporter: Hynek Švábek
>            Assignee: Farah Juma
>            Priority: Critical
>
> remove-alias should fail when remove non-existent alias from credential store.
> There is expected fail when we try to remove non-existent alias from credential store.
> *How to reproduce*
> *create credential store*
> {code}
> /subsystem=elytron/credential-store=cs001:add(create=true, credential-reference={clear-text=pass123},location=cs001.jceks)
> {code}
> *Try to remove alias from empty credential store*
> {code}
> /subsystem=elytron/credential-store=cs001:remove-alias(alias=alias001)
> {
>     "outcome" => "success",
>     "result" => undefined
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list