directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r126356 - /incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
Date Tue, 25 Jan 2005 09:42:48 GMT
Author: erodriguez
Date: Tue Jan 25 01:42:40 2005
New Revision: 126356

URL: http://svn.apache.org/viewcvs?view=rev&rev=126356
Log:
Initial context factory correction related to recent package renaming.
Modified:
   incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java

Modified: incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
Url: http://svn.apache.org/viewcvs/incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java?view=diff&rev=126356&p1=incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java&r1=126355&p2=incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java&r2=126356
==============================================================================
--- incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
(original)
+++ incubator/directory/apacheds/trunk/protocol/src/main/java/org/apache/ldap/server/protocol/SessionRegistry.java
Tue Jan 25 01:42:40 2005
@@ -17,20 +17,22 @@
 package org.apache.ldap.server.protocol;
 
 
-import java.util.*;
+import java.util.HashMap;
+import java.util.Hashtable;
+import java.util.Map;
+import java.util.Observable;
+import java.util.Observer;
+
 import javax.naming.Context;
 import javax.naming.NamingException;
-import javax.naming.ldap.InitialLdapContext;
-import javax.naming.ldap.Control;
 import javax.naming.directory.InitialDirContext;
+import javax.naming.ldap.Control;
+import javax.naming.ldap.InitialLdapContext;
 
-import org.apache.apseda.listener.ClientKey;
-import org.apache.apseda.event.EventRouter;
-import org.apache.apseda.event.DisconnectEvent;
-import org.apache.ldap.common.exception.LdapNoPermissionException;
 import org.apache.apseda.event.DisconnectEvent;
 import org.apache.apseda.event.EventRouter;
 import org.apache.apseda.listener.ClientKey;
+import org.apache.ldap.common.exception.LdapNoPermissionException;
 
 
 /**
@@ -93,7 +95,7 @@
         {
             this.env = new Hashtable();
             this.env.put( Context.PROVIDER_URL, "" );
-            this.env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory"
);
+            this.env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.ldap.server.jndi.ServerContextFactory"
);
         }
         else
         {

Mime
View raw message