[jboss-jira] [JBoss JIRA] (WFLY-7305) Getting identity by DN in Elytron ldap-realm should be case insensitive
Jan Kalina (JIRA)
issues at jboss.org
Mon Oct 17 08:38:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13307822#comment-13307822 ]
Jan Kalina commented on WFLY-7305:
----------------------------------
1) When I am now looking on it, maybe we could also skip nameFilter when user entry is defined by DN...
2) I now see bigger problem: the check compare test only if the RDN is at begin of DN - but without "=" - for example username "uidahaar" will be interpreted as DN, because it starts by "uid".
> Getting identity by DN in Elytron ldap-realm should be case insensitive
> -----------------------------------------------------------------------
>
> Key: WFLY-7305
> URL: https://issues.jboss.org/browse/WFLY-7305
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ondrej Lukas
> Assignee: Jan Kalina
>
> Elytron ldap-realm allows to use DN as username (e.g. full {{uid=jduke,ou=People,dc=jboss,dc=org}} can be used instead of {{jduke}}). However implementation requires that used DN must start with rdn-identifier in the same case sensitivity as is used in server configuration. Otherwise authentication fails. It means when server configuration uses {{rdn-identifier=uid}} then only {{uid=jduke,...}} can be correctly used, {{UID=jduke,...}} will fail.
> LDAP specification does not talk about case sensitivity of attributes, but most of LDAP servers work with attributes as case insensitive.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list