]
Darran Lofthouse updated WFLY-7271:
-----------------------------------
Fix Version/s: 11.0.0.Alpha1
Review elytron jdbc-realm resource XSD definition
-------------------------------------------------
Key: WFLY-7271
URL:
https://issues.jboss.org/browse/WFLY-7271
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Martin Choma
Assignee: Ilia Vassilev
Fix For: 11.0.0.Alpha1
* Wouldn't {{xsd:all}} be more proper than {{xsd:sequence}} here, as it doesn't
required elements in exact order.
* In XSD attribute-mapping attribute {{to}} is declared as optional, but in fact it is
required.
{code}
[standalone@localhost:9990 /]
/subsystem=elytron/jdbc-realm=a:add(principal-query=[{sql="a",data-source="ExampleDS",attribute-mapping=[{index=0}]}])
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0155: to may not be null",
"rolled-back" => true
}
{code}
* simple-digest-mapper, salted-simple-digest-mapper and scram-mapper missing
{{algorithm}} attribute in XSD