]
Ondrej Lukas updated WFLY-7452:
-------------------------------
Affects Version/s: 11.0.0.Alpha1
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
Affects Versions: 11.0.0.Alpha1
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Priority: Minor
Labels: user_experience
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.