[jboss-jira] [JBoss JIRA] (ELY-1279) principal-query attribute of jdbc-realm is required but description says false

Darran Lofthouse (JIRA) issues at jboss.org
Sun Aug 20 06:39:20 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse reassigned ELY-1279:
-------------------------------------

    Assignee:     (was: Darran Lofthouse)


> principal-query attribute of jdbc-realm is required but description says false
> ------------------------------------------------------------------------------
>
>                 Key: ELY-1279
>                 URL: https://issues.jboss.org/browse/ELY-1279
>             Project: WildFly Elytron
>          Issue Type: Bug
>            Reporter: Claudio Miranda
>
> 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.
> {code}
>  /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" => {
> {code}
> The add operation with no principal-query
> {code}
> /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
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list