This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.10.x by this push:
     new 3c98ce212cc CAMEL-22073: camel-http - NTLM authentication doesn't work 
over http
3c98ce212cc is described below

commit 3c98ce212ccef478b9628944d6ba6bd0eff31357
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat May 24 08:33:11 2025 +0200

    CAMEL-22073: camel-http - NTLM authentication doesn't work over http
---
 .../camel/component/http/BasicAuthenticationHttpClientConfigurer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-http/src/main/java/org/apache/camel/component/http/BasicAuthenticationHttpClientConfigurer.java
 
b/components/camel-http/src/main/java/org/apache/camel/component/http/BasicAuthenticationHttpClientConfigurer.java
index e89d20231a8..0390fe1ed89 100644
--- 
a/components/camel-http/src/main/java/org/apache/camel/component/http/BasicAuthenticationHttpClientConfigurer.java
+++ 
b/components/camel-http/src/main/java/org/apache/camel/component/http/BasicAuthenticationHttpClientConfigurer.java
@@ -16,6 +16,8 @@
  */
 package org.apache.camel.component.http;
 
+import java.util.List;
+
 import org.apache.hc.client5.http.auth.AuthSchemeFactory;
 import org.apache.hc.client5.http.auth.Credentials;
 import org.apache.hc.client5.http.auth.NTCredentials;
@@ -29,8 +31,6 @@ import org.apache.hc.client5.http.impl.auth.NTLMSchemeFactory;
 import org.apache.hc.client5.http.impl.classic.HttpClientBuilder;
 import org.apache.hc.core5.http.config.RegistryBuilder;
 
-import java.util.List;
-
 public class BasicAuthenticationHttpClientConfigurer implements 
HttpClientConfigurer {
     private final String username;
     private final char[] password;

Reply via email to