Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-12-01 19:35:59 +0000
committerrelves2006-12-01 19:35:59 +0000
commit45482c4840c0184083329a6a4c79904017555c37 (patch)
tree7c66bf402fe317cf1526e2afd45d9514496e616c /org.eclipse.mylyn.tasks.core/src
parentc35b4de2cf6db6e4049296d3b3cb73e4cdd2b042 (diff)
downloadorg.eclipse.mylyn.tasks-45482c4840c0184083329a6a4c79904017555c37.tar.gz
org.eclipse.mylyn.tasks-45482c4840c0184083329a6a4c79904017555c37.tar.xz
org.eclipse.mylyn.tasks-45482c4840c0184083329a6a4c79904017555c37.zip
RESOLVED - 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/src')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/WebClientUtil.java20
1 files changed, 7 insertions, 13 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 45d91e42a..0226b7387 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
@@ -103,17 +103,11 @@ public class WebClientUtil {
// 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");
-
+ //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();
@@ -144,11 +138,11 @@ public class WebClientUtil {
}
}
-
/** utility method, should use TaskRepository.getProxy() */
public static Proxy getSystemProxy() {
Proxy proxy = Proxy.NO_PROXY;
- if (UpdateCore.getPlugin() != null && UpdateCore.getPlugin().getPluginPreferences().getBoolean(UpdateCore.HTTP_PROXY_ENABLE)) {
+ if (UpdateCore.getPlugin() != null
+ && UpdateCore.getPlugin().getPluginPreferences().getBoolean(UpdateCore.HTTP_PROXY_ENABLE)) {
String proxyHost = UpdateCore.getPlugin().getPluginPreferences().getString(UpdateCore.HTTP_PROXY_HOST);
int proxyPort = UpdateCore.getPlugin().getPluginPreferences().getInt(UpdateCore.HTTP_PROXY_PORT);

Back to the top