[
https://issues.apache.org/jira/browse/CAMEL-26687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-26687 started by Claus Ibsen.
-------------------------------------------
> camel-spring-ldap - the authenticate operation fails fast when the password
> is missing or empty
> -----------------------------------------------------------------------------------------------
>
> Key: CAMEL-26687
> URL: https://issues.apache.org/jira/browse/CAMEL-26687
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> The authenticate operation of camel-spring-ldap passes the password entry of
> the message body to {{LdapTemplate.authenticate}} as is.
> When the password is missing or empty, the outcome depends on the Spring LDAP
> version and the authentication strategy configured on the context source.
> The producer should check the password itself and fail the exchange with an
> {{org.springframework.ldap.AuthenticationException}} before contacting the
> LDAP server, so routes see the same behaviour in every setup. The component
> documentation should say so.
> _Filed by Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)