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

Ka-Lok Fung updated HTTPCLIENT-1545:
------------------------------------

    Attachment: HTTPCLIENT-1545.patch.diff

Here's my patch for the issue. I also added a unit test. {{mvn test}} passes 
100% on my developer box.

Even though I haven't tested it first hand, I believe this issue is 
reproducible on any Windows system, even when your machine isn't a member of a 
domain. If my unit test is run on a non-Windows machine, the unit test will be 
ignored.

Any comments and feedback is welcome.

> Possible infinite loop when WindowsNegotiateScheme authentication fails
> -----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1545
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1545
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.4 Alpha1
>         Environment: Windows
>            Reporter: Ka-Lok Fung
>         Attachments: HTTPCLIENT-1545.patch.diff
>
>
> When {{WindowsNegotiateScheme}} authentication fails, it's possible for 
> HttpClient to retry the authentication in an endless loop because the 
> {{continueNeeded}} flag is not set to {{false}} when authentication fails.
> One possible way of causing authentication to fail is to use a service 
> principle name that is outside your Windows domain (e.g., HTTP/EXAMPLE.COM).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to