[jboss-jira] [JBoss JIRA] (WFLY-7436) Some attributes in Elytron ldap-realm are nillable=false but have set default values

Ondrej Lukas (JIRA) issues at jboss.org
Tue Nov 1 06:47:00 EDT 2016


Ondrej Lukas created WFLY-7436:
----------------------------------

             Summary: Some attributes in Elytron ldap-realm are nillable=false but have set default values
                 Key: WFLY-7436
                 URL: https://issues.jboss.org/browse/WFLY-7436
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Ondrej Lukas
            Assignee: Darran Lofthouse
            Priority: Optional


Some attributes in Elytron ldap-realm are nillable=false but have set default values
Following attributes Elytron ldap-realm are nillable=false but have set default values:
* {{identity-mapping.use-recursive-search}}
* {{identity-mapping.user-password-mapper.writable}}
* {{identity-mapping.user-password-mapper.verifiable}}

Using nillable=false with set default value can be confused (because default value should be used in case when none value is set and nillable=false says that any value must by used).

Suggestion:
Since none of these mentioned attributes is required by CLI commands set nillable for these attributes to true.



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jboss-jira mailing list