Hynek Švábek created WFCORE-2880:
------------------------------------
Summary: 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: Darran Lofthouse
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)