Uploaded image for project: 'LDAP Connector'
  1. LDAP Connector
  2. MGNLLDAP-123

AD: Improve resolving group name from DN to be case insensitive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.10.3
    • None
    • Maintenance 5, Maintenance 6
    • 1

      At the moment, ADGroupResolver.resolveGroupName uses StringUtils.substringBetween which is case sensitive:

       protected String resolveGroupName(String groupDN) {
              final String groupIdAttribute = StringUtils.isNotBlank(attributeMap.getName(AttributeMap.GROUP_ID_ATTRIBUTE)) ? attributeMap.getName(AttributeMap.GROUP_ID_ATTRIBUTE) : "CN";
              return StringUtils.substringBetween(groupDN, groupIdAttribute + "=", ",");
          }
      

      It would be great to improve it to be case insensitive.

        Acceptance criteria

              mdivilek Milan Divilek
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD