directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r439851 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
Date Sun, 03 Sep 2006 22:28:26 GMT
Author: elecharny
Date: Sun Sep  3 15:28:25 2006
New Revision: 439851

URL: http://svn.apache.org/viewvc?view=rev&rev=439851
Log:
Added the ASN.1 grammar in the header

Modified:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java?view=diff&rev=439851&r1=439850&r2=439851
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/messages/bind/BindRequest.java
Sun Sep  3 15:28:25 2006
@@ -25,7 +25,25 @@
 import org.apache.directory.shared.ldap.utils.StringTools;
 
 /**
- * This class stores a BindRequest Object. 
+ * This class stores a BindRequest Object.  The ASN.1 syntax is :
+ * 
+ * BindRequest ::= [APPLICATION 0] SEQUENCE {
+ *     version                 INTEGER (1 ..  127),
+ *     name                    LDAPDN,
+ *     authentication          AuthenticationChoice 
+ * }
+ *
+ * AuthenticationChoice ::= CHOICE {
+ *     simple                  [0] OCTET STRING,
+ *                             -- 1 and 2 reserved
+ *     sasl                    [3] SaslCredentials,
+ *     ...  
+ * }
+ *
+ * SaslCredentials ::= SEQUENCE {
+ *     mechanism               LDAPString,
+ *     credentials             OCTET STRING OPTIONAL 
+ * }
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */



Mime
View raw message