Grails

[grails-acegi] Missing 'searchSubtree = conf.ldapSearchSubtree' inside ldapAuthoritiesPopulator

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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') }
}

Activity

Hide
Jakub W. Jozwicki added a comment -

Moved to [GRAILSPLUGINS-372] in Grails-Plugins -> Grails Acegi

Show
Jakub W. Jozwicki added a comment - Moved to [GRAILSPLUGINS-372] in Grails-Plugins -> Grails Acegi
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: