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/04/04 18:43:41 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-11060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Geis updated CAMEL-11060:
-----------------------------
    Comment: was deleted

(was: I've created a pull request: [CAMEL-11060: fall back to context source base DN|https://github.com/apache/camel/pull/1592])

> 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: Improvement
>    Affects Versions: 2.18.3
>            Reporter: Ken Geis
>            Priority: Minor
>
> 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)