directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r159934 - directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java
Date Sun, 03 Apr 2005 17:18:15 GMT
Author: elecharny
Date: Sun Apr  3 10:18:13 2005
New Revision: 159934

URL: http://svn.apache.org/viewcvs?view=rev&rev=159934
Log:
Added LdapResult states

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java?view=diff&r1=159933&r2=159934
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/StatesEnum.java
Sun Apr  3 10:18:13 2005
@@ -59,6 +59,54 @@
     /** protocolOp CHOICE Value */
     public static int PROTOCOL_OP_VALUE = INIT_STATE++;
 
+    // LdapResult =============================================================
+    // LdapResult Code --------------------------------------------------------
+    /** LdapResult Code Tag */
+    public static int LDAP_RESULT_CODE_TAG = INIT_STATE++;
+
+    /** LdapResult Code Length */
+    public static int LDAP_RESULT_CODE_LENGTH = INIT_STATE++;
+
+    /** LdapResult Code Value */
+    public static int LDAP_RESULT_CODE_VALUE = INIT_STATE++;
+
+    // LdapResult Matched DN --------------------------------------------------
+    /** LdapResult Matched DN Tag */
+    public static int LDAP_RESULT_MATCHED_DN_TAG = INIT_STATE++;
+
+    /** LdapResult Matched DN Length */
+    public static int LDAP_RESULT_MATCHED_DN_LENGTH = INIT_STATE++;
+
+    /** LdapResult Matched DN Value */
+    public static int LDAP_RESULT_MATCHED_DN_VALUE = INIT_STATE++;
+
+    // LdapResult error message -----------------------------------------------
+    /** LdapResult error message Tag */
+    public static int LDAP_RESULT_ERROR_MESSAGE_TAG = INIT_STATE++;
+
+    /** LdapResult error message Length */
+    public static int LDAP_RESULT_ERROR_MESSAGE_LENGTH = INIT_STATE++;
+
+    /** LdapResult error message Value */
+    public static int LDAP_RESULT_ERROR_MESSAGE_VALUE = INIT_STATE++;
+
+    // LdapResult referral sequence -------------------------------------------
+    /** LdapResult referral sequence Tag */
+    public static int LDAP_RESULT_REFERRAL_SEQUENCE_TAG = INIT_STATE++;
+
+    /** LdapResult referral sequence Length */
+    public static int LDAP_RESULT_REFERRAL_SEQUENCE_LENGTH = INIT_STATE++;
+
+    // LdapResult referrale ---------------------------------------------------
+    /** LdapResult referral Tag */
+    public static int LDAP_RESULT_REFERRAL_TAG = INIT_STATE++;
+
+    /** LdapResult referral Length */
+    public static int LDAP_RESULT_REFERRAL_LENGTH = INIT_STATE++;
+
+    /** LdapResult referral Value */
+    public static int LDAP_RESULT_REFERRAL_VALUE = INIT_STATE++;
+
     // BindRequest ============================================================
     // Version ----------------------------------------------------------------
     /**  Version Tag */
@@ -172,58 +220,90 @@
     public static int CONTROL_VALUE_LENGTH = INIT_STATE++;
 
     /** Control value Value */
-    public static int       CONTROL_VALUE_VALUE = INIT_STATE++;
+    public static int CONTROL_VALUE_VALUE = INIT_STATE++;
+
+    // BindResponse ===========================================================
+    // Version ----------------------------------------------------------------
+    /**  Response Tag */
+    public static int BIND_RESPONSE_TAG = INIT_STATE++;
+
+    /** serverSaslCreds Tag */
+    public static int SERVER_SASL_CREDS_TAG = INIT_STATE++;
+
+    /** serverSaslCreds Length */
+    public static int SERVER_SASL_CREDS_LENGTH = INIT_STATE++;
+
+    /** serverSaslCreds Length */
+    public static int SERVER_SASL_CREDS_VALUE = INIT_STATE++;
 
     /** The last state */
-    public static int       LAST_STATE = INIT_STATE;
+    public static int LAST_STATE = INIT_STATE;
 
     /** A string representation of all the states */
     private static String[] StateTring =
         new String[]
         {
-            "LDAP_MESSAGE_TAG", 
-			"LDAP_MESSAGE_LENGTH", 
-			"LDAP_MESSAGE_VALUE", 
+    		"LDAP_MESSAGE_TAG",
+			"LDAP_MESSAGE_LENGTH",
+			"LDAP_MESSAGE_VALUE",
 			"LDAP_MESSAGE_ID_TAG",
-            "LDAP_MESSAGE_ID_LENGTH", 
-			"LDAP_MESSAGE_ID_VALUE", 
+			"LDAP_MESSAGE_ID_LENGTH",
+			"LDAP_MESSAGE_ID_VALUE",
 			"PROTOCOL_OP_TAG",
-            "PROTOCOL_OP_LENGTH", 
-			"PROTOCOL_OP_VALUE", 
-			"BIND_VERSION_TAG", 
+			"PROTOCOL_OP_LENGTH",
+			"PROTOCOL_OP_VALUE",
+			"LDAP_RESULT_CODE_TAG",
+			"LDAP_RESULT_CODE_LENGTH",
+			"LDAP_RESULT_CODE_VALUE",
+			"LDAP_RESULT_MATCHED_DN_TAG",
+			"LDAP_RESULT_MATCHED_DN_LENGTH",
+			"LDAP_RESULT_MATCHED_DN_VALUE",
+			"LDAP_RESULT_ERROR_MESSAGE_TAG",
+			"LDAP_RESULT_ERROR_MESSAGE_LENGTH",
+			"LDAP_RESULT_ERROR_MESSAGE_VALUE",
+			"LDAP_RESULT_REFERRAL_SEQUENCE_TAG",
+			"LDAP_RESULT_REFERRAL_SEQUENCE_LENGTH",
+			"LDAP_RESULT_REFERRAL_TAG",
+			"LDAP_RESULT_REFERRAL_LENGTH",
+			"LDAP_RESULT_REFERRAL_VALUE",
+			"BIND_VERSION_TAG",
 			"BIND_VERSION_LENGTH",
-            "BIND_VERSION_VALUE", 
-			"BIND_NAME_TAG", 
-			"BIND_NAME_LENGTH", 
+			"BIND_VERSION_VALUE",
+			"BIND_NAME_TAG",
+			"BIND_NAME_LENGTH",
 			"BIND_NAME_VALUE",
-            "BIND_AUTHENTICATION_CHOICE_TAG",
-            //public static int BIND_AUTHENTICATION_SIMPLE_TAG] = "",
-            "BIND_AUTHENTICATION_SIMPLE_LENGTH", 
+			"BIND_AUTHENTICATION_CHOICE_TAG",
+			//public static int BIND_AUTHENTICATION_SIMPLE_TAG",
+			"BIND_AUTHENTICATION_SIMPLE_LENGTH",
 			"BIND_AUTHENTICATION_SIMPLE_VALUE",
-            //public static int BIND_AUTHENTICATION_SASL_TAG] = "",
-            "BIND_AUTHENTICATION_SASL_LENGTH", 
+			//public static int BIND_AUTHENTICATION_SASL_TAG",
+			"BIND_AUTHENTICATION_SASL_LENGTH",
 			"BIND_AUTHENTICATION_SASL_VALUE",
-            "BIND_AUTHENTICATION_MECHANISM_TAG", 
+			"BIND_AUTHENTICATION_MECHANISM_TAG",
 			"BIND_AUTHENTICATION_MECHANISM_LENGTH",
-            "BIND_AUTHENTICATION_MECHANISM_VALUE", 
+			"BIND_AUTHENTICATION_MECHANISM_VALUE",
 			"BIND_AUTHENTICATION_CREDENTIALS_TAG",
-            "BIND_AUTHENTICATION_CREDENTIALS_LENGTH", 
+			"BIND_AUTHENTICATION_CREDENTIALS_LENGTH",
 			"BIND_AUTHENTICATION_CREDENTIALS_VALUE",
-            "CONTROLS_TAG", 
-			"CONTROLS_LENGTH", 
-			"CONTROLS_VALUE", 
-			"CONTROL_TAG", 
+			"CONTROLS_TAG",
+			"CONTROLS_LENGTH",
+			"CONTROLS_VALUE",
+			"CONTROL_TAG",
 			"CONTROL_LENGTH",
-            "CONTROL_VALUE", 
-			"CONTROL_TYPE_TAG", 
-			"CONTROL_TYPE_LENGTH", 
+			"CONTROL_VALUE",
+			"CONTROL_TYPE_TAG",
+			"CONTROL_TYPE_LENGTH",
 			"CONTROL_TYPE_VALUE",
-            "CONTROL_CRITICALITY_TAG", 
-			"CONTROL_CRITICALITY_LENGTH", 
+			"CONTROL_CRITICALITY_TAG",
+			"CONTROL_CRITICALITY_LENGTH",
 			"CONTROL_CRITICALITY_VALUE",
-            "CONTROL_VALUE_TAG", 
-			"CONTROL_VALUE_LENGTH", 
-			"CONTROL_VALUE_VALUE", 
+			"CONTROL_VALUE_TAG",
+			"CONTROL_VALUE_LENGTH",
+			"CONTROL_VALUE_VALUE",
+			"BIND_RESPONSE_TAG",
+			"SERVER_SASL_CREDS_TAG",
+			"SERVER_SASL_CREDS_LENGTH",
+			"SERVER_SASL_CREDS_VALUE",
 			"LAST_STATE"
         };
 



Mime
View raw message