Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 69448 invoked from network); 11 Jul 2008 08:55:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2008 08:55:58 -0000 Received: (qmail 25101 invoked by uid 500); 11 Jul 2008 08:55:57 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 25087 invoked by uid 500); 11 Jul 2008 08:55:57 -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 25076 invoked by uid 99); 11 Jul 2008 08:55:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 01:55:57 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Fri, 11 Jul 2008 08:55:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KHEPX-0004eE-Qp for httpclient-users@hc.apache.org; Fri, 11 Jul 2008 01:55:27 -0700 Message-ID: <18399498.post@talk.nabble.com> Date: Fri, 11 Jul 2008 01:55:27 -0700 (PDT) From: BazzaRy To: httpclient-users@hc.apache.org Subject: Use httpClient to authenticate with proxy and server MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: barry_jc_ryan@yahoo.co.uk X-Virus-Checked: Checked by ClamAV on apache.org Hi, I need to authenticate with an apache proxy server using NTLM and a web application runnig on JBoss. the problem I have is with using HTTPClient to authenticate with the proxy and the web-app. When I provide proxy credentials using client.getState().setProxyCredentials() these appear to be ignored by apache and it only recognises the credentials provided by client.getState().setCredentials(). I am not 100% if the problem is with my usage of HttpClient or how apache is set up as a proxy. If I request a server resource that does not require authentication (e.g. the login form) then I authenticate with the proxy and get through to the web-app no problem. Any help on this would be appreciated. Regards Barry -- View this message in context: http://www.nabble.com/Use-httpClient-to-authenticate-with-proxy-and-server-tp18399498p18399498.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