Author: elecharny
Date: Sat Apr 23 00:50:20 2005
New Revision: 164360

URL: http://svn.apache.org/viewcvs?rev=164360&view=rev
Log:
Created this Spnego states enum class. 

Added:
    
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/
    
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoStatesEnum.java

Added: 
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoStatesEnum.java
URL: 
http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoStatesEnum.java?rev=164360&view=auto
==============================================================================
--- 
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoStatesEnum.java
 (added)
+++ 
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoStatesEnum.java
 Sat Apr 23 00:50:20 2005
@@ -0,0 +1,48 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.spnego.codec.grammars;
+
+/**
+ * @author <a href="mailto:[email protected]";>Apache Directory 
Project</a>
+ */
+public class SpnegoStatesEnum {
+    // LdapMessage ------------------------------------------------------------
+    /** Initiate the counter to 0 */
+    private static int SPNEGO_START_STATE = 0;
+
+    /** SPNEGO neg token init Tag */
+    public static int SPNEGO_NEG_TOKEN_INIT_TAG = 0;
+
+    /** SPNEGO neg token init Length */
+    public static int SPNEGO_NEG_TOKEN_INIT_LENGTH = 1;
+
+    /** SPNEGO neg token init Value */
+    public static int SPNEGO_NEG_TOKEN_INIT_VALUE = 2;
+    
+    /** SPNEGO neg token targ Tag */
+    public static int SPNEGO_NEG_TOKEN_TARG_TAG = 3;
+
+    /** SPNEGO neg token targ Length */
+    public static int SPNEGO_NEG_TOKEN_TARG_LENGTH = 4;
+
+    /** SPNEGO neg token targ Value */
+    public static int SPNEGO_NEG_TOKEN_TARG_VALUE = 5;
+    
+    public static final int LAST_SPNEGO_STATE = 10;
+
+    public static final int SPNEGO_GRAMMAR = 0;
+}


Reply via email to