You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/09/15 10:35:34 UTC

[jira] [Resolved] (HTTPCLIENT-1380) NTLMEngineImpl: Change exception message to be informative

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1380.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   4.4 Alpha2
                   4.3.6

Committed to SVN trunk and 4.3.x branch. Many thanks, Joseph, for contributing the patch.

Oleg

> NTLMEngineImpl: Change exception message to be informative
> ----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1380
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1380
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpAuth
>    Affects Versions: 4.2.5
>            Reporter: Ricardo Pereira
>            Priority: Trivial
>             Fix For: 4.3.6, 4.4 Alpha2
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org