]
Martin Choma moved JBEAP-6322 to WFLY-7271:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7271 (was: JBEAP-6322)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
(was: Security)
Target Release: (was: 7.1.0.GA)
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
* 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