directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1471346 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
Date Wed, 24 Apr 2013 10:20:09 GMT
Author: kayyagari
Date: Wed Apr 24 10:20:09 2013
New Revision: 1471346

URL: http://svn.apache.org/r1471346
Log:
added missing optional transitions from timestamp field

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java?rev=1471346&r1=1471345&r2=1471346&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
Wed Apr 24 10:20:09 2013
@@ -256,6 +256,30 @@ public final class EncKrbPrivPartGrammar
                 new StoreSenderAddress() );
 
         // --------------------------------------------------------------------------------------------
+        // Transition from timestamp value to seq-number tag
+        // --------------------------------------------------------------------------------------------
+        // EncKrbPrivPart   ::= SEQUENCE {
+        // seq-number       [3]
+        super.transitions[EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE.ordinal()][KerberosConstants.ENC_KRB_PRIV_PART_SEQ_NUMBER_TAG]
=
+            new GrammarTransition<EncKrbPrivPartContainer>(
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE,
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_NUMBER_TAG_STATE,
+                KerberosConstants.ENC_KRB_PRIV_PART_SEQ_NUMBER_TAG,
+                new CheckNotNullLength<EncKrbPrivPartContainer>() );
+        
+        // --------------------------------------------------------------------------------------------
+        // Transition from timestamp value to s-address tag
+        // --------------------------------------------------------------------------------------------
+        // EncKrbPrivPart   ::= SEQUENCE {
+        // s-address       [4]
+        super.transitions[EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE.ordinal()][KerberosConstants.ENC_KRB_PRIV_PART_SENDER_ADDRESS_TAG]
=
+            new GrammarTransition<EncKrbPrivPartContainer>(
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE,
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SENDER_ADDRESS_TAG_STATE,
+                KerberosConstants.ENC_KRB_PRIV_PART_SENDER_ADDRESS_TAG,
+                new StoreSenderAddress() );
+
+        // --------------------------------------------------------------------------------------------
         // Transition from usec value to s-address tag
         // --------------------------------------------------------------------------------------------
         // EncKrbPrivPart   ::= SEQUENCE {



Mime
View raw message