Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16085

http basic authentication does not send authorization header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: camel-http
    • Labels:
      None
    • Environment:

      Windows 7, jdk11, 64 bit, eclipse, Apache 2.4, ...

    • Estimated Complexity:
      Advanced
    • Flags:
      Important

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philiph Philip
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: