Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 64319 invoked from network); 5 Sep 2007 14:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2007 14:37:20 -0000 Received: (qmail 87940 invoked by uid 500); 5 Sep 2007 14:37:11 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 87867 invoked by uid 500); 5 Sep 2007 14:37:10 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 87806 invoked by uid 99); 5 Sep 2007 14:37:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 07:37:10 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.179.121.47] (HELO viefep27-int.chello.at) (62.179.121.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 14:37:04 +0000 Received: from [192.168.0.63] (really [212.71.105.68]) by viefep27-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20070905143640.RAE27551.viefep27-int.chello.at@[192.168.0.63]> for ; Wed, 5 Sep 2007 16:36:40 +0200 Subject: Re: HttpClient fails with Unauthorized exception with reverse proxy From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <12486566.post@talk.nabble.com> References: <12399963.post@talk.nabble.com> <46D854E2.1090107@dubioso.net> <12486566.post@talk.nabble.com> Content-Type: text/plain Date: Wed, 05 Sep 2007 16:36:39 +0200 Message-Id: <1189002999.5657.21.camel@okhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2007-09-04 at 14:01 -0700, Srihttp wrote: > Roland, > > This issue is bit different which is not addressed by documentation. My > application uses java web start and the proxy authentication works fine with > java url connection. Now when I switched to HttpClient, some how these > credentials are lost. Even setting them explicitly using credentials and > host configuration is not working. I am wondering, is there any way solve > this for this problem. > Thanks, > Sri > Sri, Post a context/wire log of the HTTP session if you expect any further help http://jakarta.apache.org/httpcomponents/httpclient-3.x/logging.html Oleg > > Roland Weber-3 wrote: > > > > Hello Sri, > > > > you should find our Authentication Guide helpful: > > http://jakarta.apache.org/httpcomponents/httpclient-3.x/authentication.html > > > > Make sure you know _what_ authentication mechanism the > > proxy requires, and to supply the appropriate type of > > credentials. In particular, NTLM authentication requires > > NTCredentials. > > > > cheers, > > Roland > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org