Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0.1
-
Fix Version/s: None
-
Component/s: Plugins
-
Labels:None
-
Environment:W2K3 AD
Description
Code setting searchSubtree for ldapAuthoritiesPopulator is missing, so it is not possible to get groups for LDAP user.
The file is AcegiGrailsPlugin.groovy.
—
if (conf.ldapRetrieveGroupRoles) {
ldapAuthoritiesPopulator(DefaultLdapAuthoritiesPopulator, ref('contextSource'), conf.ldapGroupSearchBase) {
groupRoleAttribute = conf.ldapGroupRoleAttribute
groupSearchFilter = conf.ldapGroupSearchFilter
+ searchSubtree = conf.ldapSearchSubtree
}
ldapAuthProvider(LdapAuthenticationProvider, ref('ldapAuthenticator'), ref('ldapAuthoritiesPopulator')) {
userDetailsContextMapper = ref('ldapUserDetailsMapper')
}
}
—
Moved to [GRAILSPLUGINS-372] in Grails-Plugins -> Grails Acegi