Camel
  1. Camel
  2. CAMEL-4056

Support for preemptive basic authentication

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Later
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.10.0
    • Component/s: camel-http
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Currently Camel only sends credentials when a server explicitly prompts for basic authentication. However there're cases where a URL is available to both authenticated as well as unauthenticated parties. In that case the camel-http component won't sent any credentials to the server, even though the credentials are explicitly provided in the URI or Exchange.

      This can be solved by enabling preemptive authentication in Apache HttpClient. In that case the credentials will always be provided whether the server asks for it or not. Enabling this provides a sensible default.

        Issue Links

          Activity

            People

            • Assignee:
              Richard Kettelerij
              Reporter:
              Richard Kettelerij
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development