Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4CBC7576 for ; Thu, 3 Nov 2011 14:57:53 +0000 (UTC) Received: (qmail 86491 invoked by uid 500); 3 Nov 2011 14:57:53 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 86460 invoked by uid 500); 3 Nov 2011 14:57:53 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 86450 invoked by uid 99); 3 Nov 2011 14:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 14:57:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 14:57:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 81D08330A49 for ; Thu, 3 Nov 2011 14:57:32 +0000 (UTC) Date: Thu, 3 Nov 2011 14:57:32 +0000 (UTC) From: "VoD (Commented) (JIRA)" To: dev@hc.apache.org Message-ID: <1681726990.56025.1320332252533.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <261873336.55908.1320329732280.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HTTPCLIENT-1142) Infinite loop on NTLM authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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