Author: keith
Date: Mon Oct 20 00:08:28 2008
New Revision: 22602
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=22602

Log:
There was an Axis2 bug that had problems with proxies that required 
authentication. This is a fix for that


Modified:
   
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/http/MashupProxyConfiguration.java

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/http/MashupProxyConfiguration.java
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/http/MashupProxyConfiguration.java?rev=22602&r1=22601&r2=22602&view=diff
==============================================================================
--- 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/http/MashupProxyConfiguration.java
     (original)
+++ 
trunk/mashup/java/modules/core/src/org/wso2/mashup/transport/http/MashupProxyConfiguration.java
     Mon Oct 20 00:08:28 2008
@@ -114,6 +114,7 @@
             throw new AxisFault(ProxyConfiguration.class.getName() +
                                     " Minimum proxy credentials are not set");
         }
+        httpClient.getParams().setAuthenticationPreemptive(true);
         httpClient.getState().setProxyCredentials(AuthScope.ANY, proxyCred);
         config.setProxy(this.getProxyHost(), this.getProxyPort());
     }

_______________________________________________
Mashup-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to