Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 46059 invoked from network); 12 Jun 2009 09:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 09:06:18 -0000 Received: (qmail 60718 invoked by uid 500); 12 Jun 2009 09:06:29 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 60660 invoked by uid 500); 12 Jun 2009 09:06:29 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 60648 invoked by uid 99); 12 Jun 2009 09:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 09:06:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 09:06:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 540D1234C004 for ; Fri, 12 Jun 2009 02:06:07 -0700 (PDT) Message-ID: <40571558.1244797567330.JavaMail.jira@brutus> Date: Fri, 12 Jun 2009 02:06:07 -0700 (PDT) From: "Mathieu Anquetin (JIRA)" To: notifications@ant.apache.org Subject: [jira] Created: (IVY-1094) Problem with NTLM proxy authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Problem with NTLM proxy authentication -------------------------------------- Key: IVY-1094 URL: https://issues.apache.org/jira/browse/IVY-1094 Project: Ivy Issue Type: Bug Components: Core Affects Versions: trunk Reporter: Mathieu Anquetin Fix For: trunk I had problems to resolve and retrieve artifacts from an IBiblio Resolver. I was behind a corporate proxy and even if this proxy was correctly configured in Ivy, I was permanently denied access. After looking at the HttpClientHandler source code, I found that this was due to a lack of support for NTLM authentication. So I added this behavior in the submitted patch trying not to break the original behavior. Now, Ivy supports NTLM authentication if -Dhttp.proxyRealm= is set in ANT_OPTS. I could not test Basic Authentication but it seems to work also. Maybe someone can confirm ? Moreover, in order to avoid breaking an old bug, I put NTLM AuthPolicy after the Basic one in the list authPrefs to make it of less priority during the scheme selection. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.