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

camel-karaf - HTTP producer NTLM auth shows "Cannot locate default realm" WARN

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Abandoned
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: camel-http, karaf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See below a route that calls an endpoint with NTLM auth.

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0  https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"
                 xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
      
         <camelContext xmlns="http://camel.apache.org/schema/blueprint">
      
            <route>
               <from uri="timer:default?period=0&amp;repeatCount=1" />
               <setHeader name="CamelHttpMethod">
                  <constant>GET</constant>
               </setHeader>
               <to uri="http://host?authMethod=NTLM&amp;authDomain=xxx&amp;authHost=xxx&amp;authUsername=xxx&amp;authPassword=xxx&amp;throwExceptionOnFailure=false" />
            </route>
      
         </camelContext>
      
      </blueprint>
      

       

      When starting the route than I'm getting an error (Camel WARN)

      2020-04-23T22:36:31,980 | WARN  | qtp711860658-153 | HttpAuthenticator                | 164 - org.apache.httpcomponents.httpclient - 4.5.10 | NEGOTIATE authentication error: Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              catshout Gerald Kallas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: