Spring Security
  1. Spring Security
  2. SEC-1670

SpringSecurityLdapTemplate should use a CompositeName to remove JNDI escaping from SearchResult.getName()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 3.1.0.M2
    • Fix Version/s: 3.1.0.RC1, 3.0.6
    • Component/s: LDAP
    • Labels:
      None

      Description

      SearchResult.getName() returns a CompositeName syntax, so JNDI special characters will be escaped, which we don't want in a pure-LDAP name. The result should be wrapped in a CompositeName() before passing to the constructor for DistinguishedName. The latter knows how to deal with CompositeNames.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Luke Taylor
              Reporter:
              Luke Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: