Philip created CAMEL-16085:
------------------------------

             Summary: http basic authentication does not send authorization 
header
                 Key: CAMEL-16085
                 URL: https://issues.apache.org/jira/browse/CAMEL-16085
             Project: Camel
          Issue Type: Bug
          Components: camel-http
    Affects Versions: 3.6.0
         Environment: Windows 7, jdk11, 64 bit, eclipse, Apache 2.4, ...
            Reporter: Philip


After enabling authentication on the Apache http (/webdav) server, I started 
getting 401 http responses. After analysing the http traffic, I saw there was 
no authorization header that was sent.

My original configuration was restconfiguration() with some dynamic to rest 
endpoints (put, delete), using the http component, running on quarkus (camel 
quarkus 1.4.0). 
After a lot of searching, trying and double checking, I just added the header 
myself before the to( instead of using authmethod, authuser... In the options 
or http_query
.
I know there are test cases, but I cannot find an error on my side. Camel even 
replaced the password with xxxxxx in the error message: it knows that it is the 
password.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to