Ondrej Lukas created WFLY-7452:
----------------------------------
Summary: Insufficient failure-description for filters of Elytron
configurable-sasl-server-factory
Key: WFLY-7452
URL:
https://issues.jboss.org/browse/WFLY-7452
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Priority: Minor
In case when both {{pattern-filter}} and {{predefined-filter}} are set in one Object in
CLI command for {{filters}} of Elytron {{configurable-sasl-server-factory}} then it
finishes with insufficient failure-description:
{code}
/subsystem=elytron/configurable-sasl-server-factory=someFactory:add(sasl-server-factory=global,filters=[{pattern-filter=(.*),predefined-filter=BINDING}])
{
"outcome" => "failed",
"failure-description" => "WFLYELY01014: Invalid [filters]
definition.",
"rolled-back" => true
}
{code}
This failure-description is not wrong but it is also not helpful. Improve
failure-description to say that only one of {{pattern-filter}} and {{predefined-filter}}
can be set in one Object in list of filters.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)