karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Westerfeld (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-606) JAAS: Allow LDAPLoginModule to supply role "DN" from LDAP group search
Date Mon, 02 May 2011 02:34:03 GMT
JAAS: Allow LDAPLoginModule to supply role "DN" from LDAP group search
----------------------------------------------------------------------

                 Key: KARAF-606
                 URL: https://issues.apache.org/jira/browse/KARAF-606
             Project: Karaf
          Issue Type: Improvement
          Components: runtime
    Affects Versions: 2.2.0
         Environment: Windows/any
            Reporter: Kurt Westerfeld


The LDAPLoginModule has the ability to supply a configuration variable (role.name.attribute)
to use when creating a role.  This value can be changed from "cn" to any of a number LDAP
attributes.  However it cannot access the actual distinguished name of the queried groups
while processing a login, as "dn" or "distinguishedName", "entryDN", etc., are not universally
supported across LDAP implementations as an attribute.  

Proposal to special case "dn" and use javax.naming.directory.SearchResult.getNameInNamespace(),
which returns the dn of the found groups when converting to a role.

This is a very small change; will provide a patch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message