Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-01-05 19:23:31 +0000
committerspingel2010-01-05 19:23:31 +0000
commit2711f1dfd10c606967afa15b84e8d218d1e0e4d6 (patch)
tree8982e61947d530b23f1d44f29e7e54aa3a85603c /org.eclipse.mylyn.trac.core
parente7fcdb8bfe86caf2572bd21207a2b5d7ae9e4f50 (diff)
downloadorg.eclipse.mylyn.tasks-2711f1dfd10c606967afa15b84e8d218d1e0e4d6.tar.gz
org.eclipse.mylyn.tasks-2711f1dfd10c606967afa15b84e8d218d1e0e4d6.tar.xz
org.eclipse.mylyn.tasks-2711f1dfd10c606967afa15b84e8d218d1e0e4d6.zip
RESOLVED - bug 296894: [releng] fix failing tests for 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296894
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
index cec9afbff..d724032b8 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracXmlRpcClient.java
@@ -291,19 +291,17 @@ public class TracXmlRpcClient extends AbstractTracClient implements ITracWikiCli
}
});
xmlrpc.setTransportFactory(factory);
- }
- // update configuration with latest values
- /*
- AuthenticationCredentials credentials = location.getCredentials(AuthenticationType.REPOSITORY);
- config.setServerURL(getXmlRpcUrl(credentials));
- if (credentialsValid(credentials)) {
- Credentials creds = WebUtil.getHttpClientCredentials(credentials, WebUtil.getHost(location.getUrl()));
- httpClient.getState().setCredentials(authScope, creds);
- } else {
- httpClient.getState().clearCredentials();
+ // update configuration with latest values
+ AuthenticationCredentials credentials = location.getCredentials(AuthenticationType.REPOSITORY);
+ config.setServerURL(getXmlRpcUrl(credentials));
+ if (credentialsValid(credentials)) {
+ Credentials creds = WebUtil.getHttpClientCredentials(credentials, WebUtil.getHost(location.getUrl()));
+ httpClient.getState().setCredentials(authScope, creds);
+ } else {
+ httpClient.getState().clearCredentials();
+ }
}
- */
return xmlrpc;
}

Back to the top