Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A01357F7B for ; Wed, 23 Nov 2011 02:39:52 +0000 (UTC) Received: (qmail 40818 invoked by uid 500); 23 Nov 2011 02:39:52 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 40748 invoked by uid 500); 23 Nov 2011 02:39:45 -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 40740 invoked by uid 99); 23 Nov 2011 02:39:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 02:39:45 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 02:39:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RT2k3-0001Mx-Aa for httpclient-users@hc.apache.org; Tue, 22 Nov 2011 18:39:19 -0800 Message-ID: <32873479.post@talk.nabble.com> Date: Tue, 22 Nov 2011 18:39:19 -0800 (PST) From: Nitin Arora To: httpclient-users@hc.apache.org Subject: Authenticate Proxy using currently logged on user domain credentails MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aro_nitin@yahoo.com Hi, I'm using Apache HttpClient 4.1 version to make http calls to the access REST API's exposed on the internet. But internet is accessible through the corporate proxy server. Proxy server has NTLM authentication enabled and all the applications (IE and Firefox) work fine without prompting the user for username and password. IE is able to use current logged in user's domain credentials. When I run my Java application HttpClient throws 407. How can we enable HttpClient to use the currently logged on domain user credentials. I don't want the user to enter username and password once they have logged in to the computer. Note: I am able to connect the REST API server if I pass the domain credentials manually. Thanks in Advance. -Nitin -- View this message in context: http://old.nabble.com/Authenticate-Proxy-using-currently-logged-on-user-domain-credentails-tp32873479p32873479.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