You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ka-Lok Fung (JIRA)" <ji...@apache.org> on 2014/10/10 21:05:35 UTC
[jira] [Updated] (HTTPCLIENT-1545) Possible infinite loop when
WindowsNegotiateScheme authentication fails
[ 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.WinXP.diff
The error on Windows XP happens because I'm using an error code that isn't defined on that platform. I used a different error code that seems to exist. Can you please test using the above patch?
> 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
> Fix For: 4.4 Beta1
>
> Attachments: HTTPCLIENT-1545.WinXP.diff, HTTPCLIENT-1545.patch.diff, HTTPCLIENT-1545.v2.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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org