You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/04/02 20:28:43 UTC
svn commit: r524879 -
/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java
Author: elecharny
Date: Mon Apr 2 11:28:42 2007
New Revision: 524879
URL: http://svn.apache.org/viewvc?view=rev&rev=524879
Log:
Changed the bind() operation interface
Modified:
directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java
Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java?view=diff&rev=524879&r1=524878&r2=524879
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java Mon Apr 2 11:28:42 2007
@@ -32,6 +32,7 @@
import org.apache.directory.server.core.DirectoryServiceConfiguration;
import org.apache.directory.server.core.configuration.PartitionConfiguration;
+import org.apache.directory.server.core.interceptor.context.ServiceContext;
import org.apache.directory.shared.ldap.filter.ExprNode;
import org.apache.directory.shared.ldap.message.ModificationItemImpl;
import org.apache.directory.shared.ldap.name.LdapDN;
@@ -289,15 +290,10 @@
* need not support this operation. This operation is here to enable those
* interested in implementing virtual directories with ApacheDS.
*
- * @param bindDn the normalized dn of the principal
- * @param credentials the credentials of the principal
- * @param mechanisms the mechanisms requested by the JNDI caller or a single
- * mechanism representing the SASL bind mechanism used by a networked client (Strings)
- * @param saslAuthId the SASL authentication (may be null)
+ * @param bindContext the bind context, containing all the needed informations to bind
* @throws NamingException if something goes wrong
*/
- void bind( LdapDN bindDn, byte[] credentials, List<String> mechanisms, String saslAuthId ) throws NamingException;
-
+ void bind( ServiceContext bindContext ) throws NamingException;
/**
* Represents an unbind operation issued by an authenticated client. Partitions