-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
jdbc-realm description, for principal-query attribute says it is required=false, nillable=true, but that is false, because a jdbc-realm cannot be added without a principal-query.
/profile=full/subsystem=elytron/jdbc-realm=*:read-resource-description { "outcome" => "success", "result" => [{ "address" => [ ("profile" => "full"), ("subsystem" => "elytron"), ("jdbc-realm" => "*") ], "outcome" => "success", "result" => { "description" => "A security realm definition backed by database using JDBC.", "capabilities" => [{ "name" => "org.wildfly.security.security-realm", "dynamic" => true }], "access-constraints" => { "sensitive" => {"elytron-security" => {"type" => "elytron"}}, "application" => {"elytron-security" => {"type" => "elytron"}} }, "attributes" => {"principal-query" => { "type" => LIST, "description" => "The authentication query used to authenticate users based on specific key types.", "expressions-allowed" => false, "required" => false, "nillable" => true, "value-type" => {
The add operation with no principal-query
/profile=full/subsystem=elytron/jdbc-realm=jdbc2:add { "outcome" => "failed", "failure-description" => {"domain-failure-description" => "WFLYCTL0155: 'principal-query' may not be null"}, "rolled-back" => true }