directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1465968 - /directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Date Tue, 09 Apr 2013 11:03:55 GMT
Author: pamarcelot
Date: Tue Apr  9 11:03:55 2013
New Revision: 1465968

URL: http://svn.apache.org/r1465968
Log:
Fixed compilation failures.

Modified:
    directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java

Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java?rev=1465968&r1=1465967&r2=1465968&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
(original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Tue Apr  9 11:03:55 2013
@@ -73,11 +73,11 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.message.SearchRequestImpl;
 import org.apache.directory.api.ldap.model.message.SearchScope;
 import org.apache.directory.api.ldap.model.name.Dn;
-import org.apache.directory.ldap.client.api.CramMd5Request;
-import org.apache.directory.ldap.client.api.DigestMd5Request;
-import org.apache.directory.ldap.client.api.GssApiRequest;
 import org.apache.directory.ldap.client.api.LdapConnectionConfig;
 import org.apache.directory.ldap.client.api.LdapNetworkConnection;
+import org.apache.directory.ldap.client.api.SaslCramMd5Request;
+import org.apache.directory.ldap.client.api.SaslDigestMd5Request;
+import org.apache.directory.ldap.client.api.SaslGssApiRequest;
 import org.apache.directory.ldap.client.api.exception.InvalidConnectionException;
 import org.apache.directory.studio.common.core.jobs.StudioProgressMonitor;
 import org.apache.directory.studio.connection.core.Connection;
@@ -371,7 +371,7 @@ public class DirectoryApiConnectionWrapp
                             // CRAM-MD5 Authentication
                             else if ( connection.getConnectionParameter().getAuthMethod()
== ConnectionParameter.AuthenticationMethod.SASL_CRAM_MD5 )
                             {
-                                CramMd5Request cramMd5Request = new CramMd5Request();
+                                SaslCramMd5Request cramMd5Request = new SaslCramMd5Request();
                                 cramMd5Request.setUsername( bindPrincipal );
                                 cramMd5Request.setCredentials( bindPassword );
                                 cramMd5Request
@@ -386,7 +386,7 @@ public class DirectoryApiConnectionWrapp
                             // DIGEST-MD5 Authentication
                             else if ( connection.getConnectionParameter().getAuthMethod()
== ConnectionParameter.AuthenticationMethod.SASL_DIGEST_MD5 )
                             {
-                                DigestMd5Request digestMd5Request = new DigestMd5Request();
+                                SaslDigestMd5Request digestMd5Request = new SaslDigestMd5Request();
                                 digestMd5Request.setUsername( bindPrincipal );
                                 digestMd5Request.setCredentials( bindPassword );
                                 digestMd5Request.setRealmName( connection.getConnectionParameter().getSaslRealm()
);
@@ -402,7 +402,7 @@ public class DirectoryApiConnectionWrapp
                             // GSSAPI Authentication
                             else if ( connection.getConnectionParameter().getAuthMethod()
== ConnectionParameter.AuthenticationMethod.SASL_GSSAPI )
                             {
-                                GssApiRequest gssApiRequest = new GssApiRequest();
+                                SaslGssApiRequest gssApiRequest = new SaslGssApiRequest();
 
                                 Preferences preferences = ConnectionCorePlugin.getDefault().getPluginPreferences();
                                 boolean useKrb5SystemProperties = preferences



Mime
View raw message