directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r355041 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
Date Thu, 08 Dec 2005 08:50:02 GMT
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 )



Mime
View raw message