Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3096

Issues with NTLM authentication in GetHttp and InvokeHttp processors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Extensions
    • None

    Description

      GetHttp and InvokeHttp do not support HTTP endpoints protected with NTLM authentication. This functionality is needed for working with services and APIs hosted in Windows systems.

      Here's a log with error:
      2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
      o.a.http.impl.auth.HttpAuthenticator NEGOTIATE authentication error: No valid
      credentials provided (Mechanism level: No valid credentials provided (Mechanism
      level: Failed to find any Kerberos tgt))
      2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
      o.a.http.impl.auth.HttpAuthenticator NTLM authentication error: Credentials
      cannot be used for NTLM authentication:
      org.apache.http.auth.UsernamePasswordCredentials
      2016-11-23 17:45:22,274 ERROR [Timer-Driven Process
      Thread-7] o.a.nifi.processors.standard.GetHTTP
      GetHTTP[id=91ce7dfd-0158-1000-1c53-cf24cf132983] received status code
      401:Unauthorized from http://internal.api.ep/dosomething

      and a discussion about this issue
      https://community.hortonworks.com/questions/68097/issues-with-gethttp-and-ntlm-authentication-in-nif.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkalika Michael Kalika
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: