Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-12-14 22:08:31 +0000
committerrelves2006-12-14 22:08:31 +0000
commit00490d0988bea79025b616b332f7c5ae5860ce02 (patch)
tree5801a72fe53bf08421a93461126fe5ddc0ccdc5f /org.eclipse.mylyn.bugzilla.core
parentd7bbb1aafd2e1803be344679dd43fbead4ac2808 (diff)
downloadorg.eclipse.mylyn.tasks-00490d0988bea79025b616b332f7c5ae5860ce02.tar.gz
org.eclipse.mylyn.tasks-00490d0988bea79025b616b332f7c5ae5860ce02.tar.xz
org.eclipse.mylyn.tasks-00490d0988bea79025b616b332f7c5ae5860ce02.zip
NEW - bug 168086: Store http auth credentials in keystore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168086
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
index ca9e068c2..3dfe36ca5 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
@@ -33,10 +33,8 @@ public class BugzillaClientManager implements ITaskRepositoryListener {
BugzillaClient client = clientByUrl.get(taskRepository.getUrl());
if (client == null) {
- String htUser = taskRepository.getProperty(TaskRepository.AUTH_HTTP_USERNAME) != null ? taskRepository
- .getProperty(TaskRepository.AUTH_HTTP_USERNAME) : "";
- String htPass = taskRepository.getProperty(TaskRepository.AUTH_HTTP_PASSWORD) != null ? taskRepository
- .getProperty(TaskRepository.AUTH_HTTP_PASSWORD) : "";
+ String htUser = taskRepository.getHttpUser() != null ? taskRepository.getHttpUser() : "";
+ String htPass = taskRepository.getHttpPassword() != null ? taskRepository.getHttpPassword() : "";
client = BugzillaClientFactory.createClient(taskRepository.getUrl(), taskRepository.getUserName(),
taskRepository.getPassword(), htUser, htPass, taskRepository.getProxy(), taskRepository

Back to the top