You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ken Geis (JIRA)" <ji...@apache.org> on 2017/03/23 19:05:41 UTC

[jira] [Created] (CAMEL-11060) dn shouldn't be strictly required for Spring LDAP component

Ken Geis created CAMEL-11060:
--------------------------------

             Summary: dn shouldn't be strictly required for Spring LDAP component
                 Key: CAMEL-11060
                 URL: https://issues.apache.org/jira/browse/CAMEL-11060
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.18.3
            Reporter: Ken Geis


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, ...).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)