Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-01-20 00:42:22 +0000
committerRyan D. Brooks2011-01-20 00:42:22 +0000
commit6e0ba1d510875b8d19797a18d31cd0642cecaa81 (patch)
tree4a9ce7d0e96a48988667e0e44bf7f3b046669d7e /plugins/org.eclipse.osee.framework.core.client
parent6c420c7fe38f2401d860dedbb26f92cdbd792337 (diff)
downloadorg.eclipse.osee-6e0ba1d510875b8d19797a18d31cd0642cecaa81.tar.gz
org.eclipse.osee-6e0ba1d510875b8d19797a18d31cd0642cecaa81.tar.xz
org.eclipse.osee-6e0ba1d510875b8d19797a18d31cd0642cecaa81.zip
bug: Fix dbInit bootstrap user authentication issue
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.client')
-rw-r--r--plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/BaseCredentialProvider.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/GuestCredentialProvider.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java2
3 files changed, 3 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/BaseCredentialProvider.java b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/BaseCredentialProvider.java
index a1af4ddfbd2..d9e973926a4 100644
--- a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/BaseCredentialProvider.java
+++ b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/BaseCredentialProvider.java
@@ -15,7 +15,6 @@ import java.util.logging.Level;
import org.eclipse.osee.framework.core.client.server.HttpServer;
import org.eclipse.osee.framework.core.data.OseeCodeVersion;
import org.eclipse.osee.framework.core.data.OseeCredential;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.util.Strings;
import org.eclipse.osee.framework.logging.OseeLog;
@@ -25,7 +24,7 @@ import org.eclipse.osee.framework.logging.OseeLog;
public abstract class BaseCredentialProvider implements ICredentialProvider {
@Override
- public OseeCredential getCredential() throws OseeCoreException {
+ public OseeCredential getCredential() {
OseeCredential credential = new OseeCredential();
credential.setUserName("");
credential.setDomain("");
diff --git a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/GuestCredentialProvider.java b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/GuestCredentialProvider.java
index 25b3f662b30..c906411245b 100644
--- a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/GuestCredentialProvider.java
+++ b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/GuestCredentialProvider.java
@@ -12,7 +12,6 @@ package org.eclipse.osee.framework.core.client;
import org.eclipse.osee.framework.core.data.OseeCredential;
import org.eclipse.osee.framework.core.data.SystemUser;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
* @author Roberto E. Escobar
@@ -20,7 +19,7 @@ import org.eclipse.osee.framework.core.exception.OseeCoreException;
public class GuestCredentialProvider extends BaseCredentialProvider {
@Override
- public OseeCredential getCredential() throws OseeCoreException {
+ public OseeCredential getCredential() {
OseeCredential credential = super.getCredential();
credential.setUserName(SystemUser.Guest.getName());
return credential;
diff --git a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
index bf0446b12ee..0fb3b76d8d1 100644
--- a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
+++ b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
@@ -127,7 +127,7 @@ public class InternalClientSessionManager {
try {
authenticate(new BaseCredentialProvider() {
@Override
- public OseeCredential getCredential() throws OseeCoreException {
+ public OseeCredential getCredential() {
OseeCredential credential = super.getCredential();
credential.setUserName(System.getProperty("user.name"));
credential.setDomain("");

Back to the top