directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1072063 - /directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java
Date Fri, 18 Feb 2011 17:00:29 GMT
Author: pamarcelot
Date: Fri Feb 18 17:00:29 2011
New Revision: 1072063

URL: http://svn.apache.org/viewvc?rev=1072063&view=rev
Log:
Fixed an issue where the missing NetworkProvider was preventing the new connection from being
added.

Modified:
    directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java

Modified: directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java?rev=1072063&r1=1072062&r2=1072063&view=diff
==============================================================================
--- directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java
(original)
+++ directory/studio/branches/m1/plugins/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/CreateConnectionActionHelper.java
Fri Feb 18 17:00:29 2011
@@ -31,6 +31,7 @@ import org.apache.directory.studio.conne
 import org.apache.directory.studio.connection.core.ConnectionParameter;
 import org.apache.directory.studio.connection.core.ConnectionParameter.AuthenticationMethod;
 import org.apache.directory.studio.connection.core.ConnectionParameter.EncryptionMethod;
+import org.apache.directory.studio.connection.core.ConnectionParameter.NetworkProvider;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.dialogs.MessageDialog;
 import org.eclipse.osgi.util.NLS;
@@ -131,7 +132,10 @@ public class CreateConnectionActionHelpe
 
         // Name
         connectionParameter.setName( serverName );
-
+        
+        // Network Provider
+        connectionParameter.setNetworkProvider( NetworkProvider.JNDI );
+        
         // Creating the connection
         Connection connection = new Connection( connectionParameter );
 



Mime
View raw message