Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-909

LDAP loader may miss memberships if using grouperLoaderLdapGroupNameExpression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.1.5
    • None
    • grouperLoader
    • None

    Description

      I think if you're using grouperLoaderLdapGroupNameExpression in such a way that multiple LDAP attribute values are translating into the same group name using EL, then all memberships may not get added.

      This may just be a couple line fix:

      In GrouperLoaderResultset:

      From:

      918 //init the subject list
      919 result.put(groupName, new ArrayList<String>());

      To:

      918 //init the subject list
      919 if (!result.containsKey(groupName))

      { 920 result.put(groupName, new ArrayList<String>()); 921 }

      ???

      Attachments

        Activity

          People

            tom.barton.2@at.internet2.edu Tom Barton (internet2.edu)
            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: