Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11060

dn shouldn't be strictly required for Spring LDAP component

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.18.3
    • Fix Version/s: 2.19.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      I set a base DN in my LdapContextSource underlying the LdapTemplate. It's redundant to need to set it in my route, but if I don't, the SpringLdapProducer complains "DN must not be empty, but you provided an empty DN".

      In other code, I do this and regularly pass an empty string as the base to LdapTemplate.search(base, ...).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                kgeis Ken Geis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: