Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-12-28 16:53:06 +0000
committerEike Stepper2012-12-28 16:53:06 +0000
commit7fdb35be120e74cc8f40b9bf7fad41370b5bbdbf (patch)
treebce74cb79bc9f78b80ab4e2a1ec8f49d8a9a57ed /plugins/org.eclipse.emf.cdo.examples.server
parent994acc27bc77822d4066ed49a96b651be26865e1 (diff)
downloadcdo-7fdb35be120e74cc8f40b9bf7fad41370b5bbdbf.tar.gz
cdo-7fdb35be120e74cc8f40b9bf7fad41370b5bbdbf.tar.xz
cdo-7fdb35be120e74cc8f40b9bf7fad41370b5bbdbf.zip
[299275] Flexible Approach for an Authentication Mechanism drops/I20121228-1208
https://bugs.eclipse.org/bugs/show_bug.cgi?id=299275
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.server')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
index a8b9a202a4..d406c87b1f 100644
--- a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
+++ b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
@@ -32,7 +32,7 @@ import org.eclipse.net4j.util.event.IListener;
import org.eclipse.net4j.util.io.IOUtil;
import org.eclipse.net4j.util.lifecycle.Lifecycle;
import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
-import org.eclipse.net4j.util.security.IUserManager;
+import org.eclipse.net4j.util.security.IAuthenticator;
import org.eclipse.net4j.util.security.UserManager;
import org.h2.jdbcx.JdbcDataSource;
@@ -149,8 +149,8 @@ public class DemoConfiguration extends Lifecycle
if (userIDs != null)
{
- IUserManager userManager = createUserManager();
- sessionManager.setUserManager(userManager);
+ IAuthenticator authenticator = createAuthenticator();
+ sessionManager.setAuthenticator(authenticator);
}
CDOServerUtil.addRepository(IPluginContainer.INSTANCE, repository);
@@ -235,7 +235,7 @@ public class DemoConfiguration extends Lifecycle
return sessionManager;
}
- protected IUserManager createUserManager()
+ protected IAuthenticator createAuthenticator()
{
userManager = new DemoUserManager();
for (int i = 0; i < userIDs.length; i++)

Back to the top