You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/12/08 09:50:02 UTC

svn commit: r355041 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java

Author: trustin
Date: Thu Dec  8 00:49:58 2005
New Revision: 355041

URL: http://svn.apache.org/viewcvs?rev=355041&view=rev
Log:
Fixed: AddDirectoryPartitionConfiguration doesn't work is providerUrl is specified.

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java?rev=355041&r1=355040&r2=355041&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java Thu Dec  8 00:49:58 2005
@@ -104,13 +104,13 @@
         else if( cfg instanceof AddDirectoryPartitionConfiguration )
         {
             new DirectoryPartitionNexusProxy(
-                    service.getJndiContext( principal, credential, authentication, providerUrl ),
+                    service.getJndiContext( principal, credential, authentication, "" ),
                     service).addContextPartition( ( ( AddDirectoryPartitionConfiguration ) cfg ).getDirectoryPartitionConfiguration() );
         }
         else if( cfg instanceof RemoveDirectoryPartitionConfiguration )
         {
             new DirectoryPartitionNexusProxy(
-                    service.getJndiContext( principal, credential, authentication, providerUrl ),
+                    service.getJndiContext( principal, credential, authentication, "" ),
                     service).removeContextPartition( ( ( RemoveDirectoryPartitionConfiguration ) cfg ).getSuffix() );
         }
         else if( service == null )