Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-10-25 17:46:56 -0400
committerrelves2006-10-25 17:46:56 -0400
commit5aebb63e28e6684ba10ee6fa062b50e4f26bc1f0 (patch)
tree14fba7172d08852758f9958d7082a2afed214b3c /org.eclipse.mylyn.trac.core/src
parentd8bcf3a1b259201cd91ce00a8d6bac3cfc1b602d (diff)
downloadorg.eclipse.mylyn.tasks-5aebb63e28e6684ba10ee6fa062b50e4f26bc1f0.tar.gz
org.eclipse.mylyn.tasks-5aebb63e28e6684ba10ee6fa062b50e4f26bc1f0.tar.xz
org.eclipse.mylyn.tasks-5aebb63e28e6684ba10ee6fa062b50e4f26bc1f0.zip
NEW - bug 162130: Authentication failed for generic web-based repository
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162130
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java2
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
index bb4e2997d..eba14b5c6 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
@@ -82,7 +82,7 @@ public class Trac09Client extends AbstractTracClient {
}
private GetMethod connectInternal(String serverURL) throws TracLoginException, IOException, TracHttpException {
- WebClientUtil.setupHttpClient(httpClient, proxy, serverURL);
+ WebClientUtil.setupHttpClient(httpClient, proxy, serverURL, null, null);
for (int attempt = 0; attempt < 2; attempt++) {
// force authentication
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java
index bc94ce5d8..572760b0c 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java
@@ -119,7 +119,7 @@ public class TracHttpClientTransportFactory extends XmlRpcTransportFactoryImpl {
XmlRpcHttpClientConfig config = (XmlRpcHttpClientConfig) pRequest.getConfig();
String url = config.getServerURL().toString();
- WebClientUtil.setupHttpClient(getHttpClient(), proxy, url);
+ WebClientUtil.setupHttpClient(getHttpClient(), proxy, url, null, null);
PostMethod method = new PostMethod(WebClientUtil.getRequestPath(url));

Back to the top