]
Darran Lofthouse moved WFLY-7452 to WFCORE-2457:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-2457 (was: WFLY-7452)
Component/s: Security
(was: Security)
Affects Version/s: 3.0.0.Beta7
(was: 11.0.0.Alpha1)
Insufficient failure-description for filters of Elytron
configurable-sasl-server-factory
----------------------------------------------------------------------------------------
Key: WFCORE-2457
URL:
https://issues.jboss.org/browse/WFCORE-2457
Project: WildFly Core
Issue Type: Bug
Components: Security
Affects Versions: 3.0.0.Beta7
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
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.