[jboss-jira] [JBoss JIRA] (ELY-1279) principal-query attribute of jdbc-realm is required but description says false
Yeray Borges (JIRA)
issues at jboss.org
Thu Jan 18 06:51:00 EST 2018
[ https://issues.jboss.org/browse/ELY-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yeray Borges reassigned ELY-1279:
---------------------------------
Assignee: Yeray Borges
> 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: Yeray Borges
>
> 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.5.0#75005)
More information about the jboss-jira
mailing list