Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-958

Httpclient scheme priority order fix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3
    • 1.3
    • fetcher
    • None
    • Patch Available

    Description

      Httpclient will try to authenticate in this order by default: ntlm, digest, basic.

      If you set as default a scheme that comes in this list after a scheme that is negotiated by the server, and this authentication fails, the default scheme will not be tried.

      I.e. if you set digest as default scheme but the server negotiates ntlm, the client will still try ntlm and fail.

      The fix sets the default scheme as the only possible scheme for authentication for the given realm by setting the authentication priorities of httpclient.

      Attachments

        1. httpclient.diff
          1 kB
          Claudio Martella

        Activity

          People

            Unassigned Unassigned
            cmartella Claudio Martella
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: