You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2010/05/21 00:03:33 UTC

svn commit: r946806 - /ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java

Author: maartenc
Date: Thu May 20 22:03:32 2010
New Revision: 946806

URL: http://svn.apache.org/viewvc?rev=946806&view=rev
Log:
Attempt to fix regressions with authentication proxies with realm information.

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java?rev=946806&r1=946805&r2=946806&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java Thu May 20 22:03:32 2010
@@ -79,7 +79,7 @@ public class HttpClientHandler extends A
     }
 
     private void configureProxy() {
-        proxyRealm = System.getProperty("http.auth.ntlm.domain");
+        proxyRealm = System.getProperty("http.auth.ntlm.domain", AuthScope.ANY_REALM);
         // no equivalent for realm in jdk proxy support ?
         proxyHost = System.getProperty("http.proxyHost");
         // TODO constant is better ...