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

Claudio Miranda (JIRA) issues at jboss.org
Tue Jul 4 12:28:00 EDT 2017


Claudio Miranda created ELY-1279:
------------------------------------

             Summary: 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
            Assignee: Darran Lofthouse


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