directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r937354 - /directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java
Date Fri, 23 Apr 2010 16:18:10 GMT
Author: kayyagari
Date: Fri Apr 23 16:18:10 2010
New Revision: 937354

URL: http://svn.apache.org/viewvc?rev=937354&view=rev
Log:
replaced LdapConnection with LdapNetworkConnection

Modified:
    directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java

Modified: directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java?rev=937354&r1=937353&r2=937354&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java
(original)
+++ directory/apacheds/trunk/server-integ/src/main/java/org/apache/directory/server/integ/ServerIntegrationUtils.java
Fri Apr 23 16:18:10 2010
@@ -28,6 +28,7 @@ import javax.naming.ldap.LdapContext;
 import netscape.ldap.LDAPConnection;
 
 import org.apache.directory.ldap.client.api.LdapConnection;
+import org.apache.directory.ldap.client.api.LdapNetworkConnection;
 import org.apache.directory.server.constants.ServerDNConstants;
 import org.apache.directory.server.core.integ.IntegrationUtils;
 import org.apache.directory.server.ldap.LdapServer;
@@ -218,7 +219,7 @@ public class ServerIntegrationUtils exte
 
     public static LdapConnection getClientApiConnection( LdapServer ldapServer ) throws Exception
     {
-        LdapConnection conn = new LdapConnection( "localhost", ldapServer.getPort() );
+        LdapConnection conn = new LdapNetworkConnection( "localhost", ldapServer.getPort()
);
         conn.bind( ServerDNConstants.ADMIN_SYSTEM_DN, "secret" );
         return conn;
     }



Mime
View raw message