[jboss-jira] [JBoss JIRA] (WFCORE-3093) Unclear failure description when removing elytron policy referenced as the default-policy
Martin Stefanko (JIRA)
issues at jboss.org
Mon Jul 24 09:38:00 EDT 2017
Martin Stefanko created WFCORE-3093:
---------------------------------------
Summary: Unclear failure description when removing elytron policy referenced as the default-policy
Key: WFCORE-3093
URL: https://issues.jboss.org/browse/WFCORE-3093
Project: WildFly Core
Issue Type: Bug
Components: Security
Affects Versions: 3.0.0.Beta28
Reporter: Martin Stefanko
Assignee: Martin Stefanko
when user wants to remove a jacc-policy referenced as default-policy, for example
{code}
/profile=full/subsystem=elytron/policy=policy1:read-resource
{
"outcome" => "success",
"result" => {
"custom-policy" => undefined,
"default-policy" => "policy-teste",
"jacc-policy" => [
{
"name" => "policy-teste",
"module" => "modulo-policy",
"configuration-factory" => "OutroFactory1",
"policy" => "PolicyM2"
},
{
"name" => "policy123",
"module" => "modulo-123",
"configuration-factory" => "OutroFactory1",
"policy" => "PolicyM2"
},
{
"name" => "outro_policy123",
"module" => "modulo-123",
"configuration-factory" => "OutroFactory1",
"policy" => "PolicyM2"
}
]
}
}
{code}
{code}
/profile=full/subsystem=elytron/policy=policy1:list-remove(name=jacc-policy,index=0)
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" => "Could find policy provider with name [policy-teste]"},
"rolled-back" => true
}
{code}
The message should say the jacc-policy is used as default-policy.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list