directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r327009 - /directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java
Date Thu, 20 Oct 2005 21:43:43 GMT
Author: erodriguez
Date: Thu Oct 20 14:43:41 2005
New Revision: 327009

URL: http://svn.apache.org/viewcvs?rev=327009&view=rev
Log:
Minor update based on rename in core.

Modified:
    directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java

Modified: directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java
URL: http://svn.apache.org/viewcvs/directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java?rev=327009&r1=327008&r2=327009&view=diff
==============================================================================
--- directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java
(original)
+++ directory/standalone/trunk/osgi/apacheds/src/main/java/org/apache/ldap/server/Activator.java
Thu Oct 20 14:43:41 2005
@@ -28,7 +28,7 @@
 
 import org.apache.ldap.common.message.LockableAttributeImpl;
 import org.apache.ldap.common.message.LockableAttributesImpl;
-import org.apache.ldap.server.configuration.MutableContextPartitionConfiguration;
+import org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration;
 import org.apache.ldap.server.configuration.MutableStartupConfiguration;
 import org.apache.ldap.server.configuration.ShutdownConfiguration;
 import org.apache.ldap.server.jndi.CoreContextFactory;
@@ -99,7 +99,7 @@
 
         Hashtable env = new ShutdownConfiguration().toJndiEnvironment();
         env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class.getName() );
-        env.put( "java.naming.security.authentication", "simple" );
+        env.put( Context.SECURITY_AUTHENTICATION, "simple" );
         env.put( Context.PROVIDER_URL, "dc=example,dc=com" );
         env.put( Context.SECURITY_PRINCIPAL, "uid=admin,ou=system" );
         env.put( Context.SECURITY_CREDENTIALS, "secret" );
@@ -124,7 +124,7 @@
     {
         MutableStartupConfiguration config = new MutableStartupConfiguration();
 
-        MutableContextPartitionConfiguration partConfig = new MutableContextPartitionConfiguration();
+        MutableDirectoryPartitionConfiguration partConfig = new MutableDirectoryPartitionConfiguration();
         partConfig.setName( "example" );
 
         HashSet indices = new HashSet();



Mime
View raw message