diff options
author | relves | 2006-11-30 01:09:58 +0000 |
---|---|---|
committer | relves | 2006-11-30 01:09:58 +0000 |
commit | 547f526a62bca8d29379498f0d32e069de2fb52c (patch) | |
tree | aff6ab1357917c3bcfc38c2c3b33db7b38a49f3f /org.eclipse.mylyn.tasks.core | |
parent | d993fe3bdc653cde9c4cf3d16555ace353a5f806 (diff) | |
download | org.eclipse.mylyn.tasks-547f526a62bca8d29379498f0d32e069de2fb52c.tar.gz org.eclipse.mylyn.tasks-547f526a62bca8d29379498f0d32e069de2fb52c.tar.xz org.eclipse.mylyn.tasks-547f526a62bca8d29379498f0d32e069de2fb52c.zip |
NEW - bug 165907: Authentication with AuthType Digest does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165907
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r-- | org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java index e538e96e4..f08cfb162 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java @@ -101,6 +101,20 @@ public class WebClientUtil { public static void setupHttpClient(HttpClient client, Proxy proxySettings, String repositoryUrl, String user, String password) { + // Note: The following debug code requires http commons-logging and + // commons-logging-api jars + // System.setProperty("org.apache.commons.logging.Log", + // "org.apache.commons.logging.impl.SimpleLog"); + // System.setProperty("org.apache.commons.logging.simplelog.showdatetime", + // "true"); + // System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", + // "debug"); + // System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire.header", + // "debug"); + // System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", + // "debug"); + + if (proxySettings != null && proxySettings.address() instanceof InetSocketAddress) { InetSocketAddress address = (InetSocketAddress) proxySettings.address(); client.getHostConfiguration().setProxy(WebClientUtil.getDomain(address.getHostName()), address.getPort()); |