Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1380

NTLMEngineImpl: Change exception message to be informative

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.2.5
    • 4.3.6, 4.4 Beta1
    • HttpClient (classic)
    • None

    Description

      The class NTLMEngineImpl throws an exception when the NTLM server sends the challenge message with the field NTLMSSP_NEGOTIATE_UNICODE set to 0, but the exception message says "NTLM type 2 message has flags that make no sense: ".
      The message gives no clue to what the problem is and forces the user to check the source code if (s)he wants to know why the exception was thrown.

      Consider changing the exception message to report what the problem really is.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thc202 Ricardo Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: