ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r946806 - /ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java
Date Thu, 20 May 2010 22:03:33 GMT
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 ...



Mime
View raw message