directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r524879 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/Partition.java
Date Mon, 02 Apr 2007 18:28:43 GMT
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



Mime
View raw message