You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "VoD (Commented) (JIRA)" <ji...@apache.org> on 2011/11/03 15:57:32 UTC

[jira] [Commented] (HTTPCLIENT-1142) Infinite loop on NTLM authentication

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143221#comment-13143221 ] 

VoD commented on HTTPCLIENT-1142:
---------------------------------

Find in attachment the logs I have.
You can see that I entered in an infinite loop.

I just added this line before the line 116 : case HANDSHAKE:
It execute the same code than UNCHALLENGED case.

I don't know if it is the best solution ... but it works for me
                
> Infinite loop on NTLM authentication
> ------------------------------------
>
>                 Key: HTTPCLIENT-1142
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1142
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2 Alpha1
>         Environment: All
>            Reporter: VoD
>             Fix For: 4.2 Alpha2
>
>         Attachments: bug.txt, work.txt
>
>
> I got an infinite loop on NTLM authentication if the authentication failed (bad credentials).
> The state FAILED of the NTLM sheme is never catched in the method authenticate of the class HttpAuthenticator (line 123).
> I fix temporatily this bug by adding a case for the protocol state HANDSHAKE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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