karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-606) JAAS: Allow LDAPLoginModule to supply role "DN" from LDAP group search
Date Thu, 05 May 2011 06:59:03 GMT

     [ https://issues.apache.org/jira/browse/KARAF-606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-606.
----------------------------------------

    Resolution: Fixed

Fix on trunk: revision 1099702.
Fix on karaf-2.2.x: revision 1099704.

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-606.patch
>
>
> 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