Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 5826 invoked from network); 20 Oct 2009 20:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 20:53:34 -0000 Received: (qmail 12950 invoked by uid 500); 20 Oct 2009 20:53:34 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 12900 invoked by uid 500); 20 Oct 2009 20:53:33 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 12890 invoked by uid 99); 20 Oct 2009 20:53:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 20:53:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 20:53:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N0LhW-0000L5-Q3 for httpclient-users@hc.apache.org; Tue, 20 Oct 2009 13:53:02 -0700 Message-ID: <25982351.post@talk.nabble.com> Date: Tue, 20 Oct 2009 13:53:02 -0700 (PDT) From: jamesrusso To: httpclient-users@hc.apache.org Subject: Re: BasicAuthentication using HttpClient 4.0 In-Reply-To: <4ABDF5B4.8010500@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jr@halo3.net References: <25578027.post@talk.nabble.com> <4ABBC232.7020802@byte23.de> <25605235.post@talk.nabble.com> <4ABD7902.3050409@byte23.de> <25624006.post@talk.nabble.com> <4ABDF5B4.8010500@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hello, This does not seem to be a correct example for 4.0? Can anyone provide an example of the proper way to do basic authentication in 4.0? thanks, -jr olegk wrote: > > > While this certainly does the trick for BASIC authentication, more > complex schemes will not work that way. > > This is the recommended way of handling authentication with HttpClient > 4.0: > > http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientAuthentication.java > http://hc.apache.org/httpcomponents-client/tutorial/html/authentication.html > > -- View this message in context: http://www.nabble.com/BasicAuthentication-using-HttpClient-4.0-tp25578027p25982351.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org