directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1069317 [2/3] - in /directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec: EncKdcRepPart/ adAndOr/ adKdcIssued/ apRep/ apReq/ authenticator/ authorizationData/ checksum/ encApRepPart/ encKrb...
Date Thu, 10 Feb 2011 10:03:19 GMT
Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoGrammar.java Thu Feb 10 10:03:17 2011
@@ -78,123 +78,142 @@ public final class KrbCredInfoGrammar ex
 
         super.transitions[KrbCredInfoStatesEnum.START_STATE.ordinal()][UniversalTag.SEQUENCE.getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.START_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SEQ_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                KrbCredInfoStatesEnum.START_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SEQ_TAG_STATE,
+                UniversalTag.SEQUENCE,
                 new KrbCredInfoInit() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_SEQ_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_KEY_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SEQ_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SEQ_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_KEY_TAG,
                 new StoreKey() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_PREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_PREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_PREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                UniversalTag.GENERAL_STRING,
                 new StorePRealm() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_PNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_PNAME_TAG,
                 new StorePName() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_FLAGS_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE, KerberosConstants.KRB_CRED_INFO_FLAGS_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_FLAGS_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE.ordinal()][UniversalTag.BIT_STRING
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
-                UniversalTag.BIT_STRING.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
+                UniversalTag.BIT_STRING,
                 new StoreFlags() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreAuthTime() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreStartTime() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreEndTime() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreRenewtill() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING
             .getValue()] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE,
+                UniversalTag.GENERAL_STRING,
                 new StoreSRealm() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE, KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // ---------------------------- OPTIONAL transitions ------------------------
@@ -202,14 +221,16 @@ public final class KrbCredInfoGrammar ex
         // transition from key to pname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_PNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_PNAME_TAG,
                 new StorePName() );
 
         // transition from key to flags
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_FLAGS_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_FLAGS_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
@@ -217,55 +238,63 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from key to starttime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from key to endtime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from key to renewtill
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from key to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from key to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from key to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_KEY_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // transition from prealm to flags
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_FLAGS_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_FLAGS_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
@@ -273,48 +302,55 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from prealm to starttime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from prealm to endtime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from prealm to renewtill
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from prealm to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from prealm to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from prealm to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_PREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
@@ -322,62 +358,71 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_AUTHTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from pname to starttime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from pname to endtime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from pname to renewtill
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from pname to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from pname to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from pname to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_PNAME_TAG_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE, KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // transition from flags to starttime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_STARTTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from flags to endtime
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
@@ -385,27 +430,31 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from flags to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from flags to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from flags to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_FLAGS_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
@@ -413,83 +462,95 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_ENDTIME_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from authtime to renewtill
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from authtime to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from authtime to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from authtime to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_AUTHTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE, KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // transition from starttime to renewtill
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE, KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_RENEWTILL_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from starttime to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from starttime to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from starttime to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_STARTTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE, KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // transition from endtime to srealm
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SREALM_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SREALM_TAG,
                 new CheckNotNullLength<KrbCredInfoContainer>() );
 
         // transition from endtime to sname
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from endtime to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_ENDTIME_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
@@ -497,20 +558,23 @@ public final class KrbCredInfoGrammar ex
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_SNAME_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE, KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SNAME_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_SNAME_TAG,
                 new StoreSName() );
 
         // transition from renewtill to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
                 KrbCredInfoStatesEnum.KRB_CRED_INFO_RENEWTILL_STATE,
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE, KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
 
         // transition from srealm to caddr
         super.transitions[KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE.ordinal()][KerberosConstants.KRB_CRED_INFO_CADDR_TAG] =
             new GrammarTransition<KrbCredInfoContainer>(
-                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE, KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_SREALM_STATE,
+                KrbCredInfoStatesEnum.KRB_CRED_INFO_CADDR_TAG_STATE,
                 KerberosConstants.KRB_CRED_INFO_CADDR_TAG,
                 new StoreCaddr() );
     }

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java Thu Feb 10 10:03:17 2011
@@ -83,7 +83,8 @@ public final class KrbErrorGrammar exten
         // KRB-ERROR       ::= [APPLICATION 30]
         super.transitions[KrbErrorStatesEnum.START_STATE.ordinal()][KerberosConstants.KRB_ERROR_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.START_STATE, KrbErrorStatesEnum.KRB_ERR_TAG,
+                KrbErrorStatesEnum.START_STATE,
+                KrbErrorStatesEnum.KRB_ERR_TAG,
                 KerberosConstants.KRB_ERROR_TAG,
                 new KrbErrorInit() );
 
@@ -95,7 +96,7 @@ public final class KrbErrorGrammar exten
             new GrammarTransition<KrbErrorContainer>(
                 KrbErrorStatesEnum.KRB_ERR_TAG,
                 KrbErrorStatesEnum.KRB_ERR_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -105,7 +106,8 @@ public final class KrbErrorGrammar exten
         //         pvno            [0]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_SEQ_STATE.ordinal()][KerberosConstants.KRB_ERROR_PVNO_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_SEQ_STATE, KrbErrorStatesEnum.KRB_ERR_PVNO_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SEQ_STATE,
+                KrbErrorStatesEnum.KRB_ERR_PVNO_TAG_STATE,
                 KerberosConstants.KRB_ERROR_PVNO_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -116,7 +118,8 @@ public final class KrbErrorGrammar exten
         //         pvno            [0] INTEGER (5) ,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_PVNO_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_PVNO_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_PVNO_STATE,
+                KrbErrorStatesEnum.KRB_ERR_PVNO_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_PVNO_STATE,
                 UniversalTag.INTEGER.getValue(),
                 new StorePvno() );
 
@@ -126,7 +129,8 @@ public final class KrbErrorGrammar exten
         // msg-type        [1]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_PVNO_STATE.ordinal()][KerberosConstants.KRB_ERROR_MSGTYPE_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_PVNO_STATE, KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_PVNO_STATE,
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_TAG_STATE,
                 KerberosConstants.KRB_ERROR_MSGTYPE_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -136,8 +140,9 @@ public final class KrbErrorGrammar exten
         // msg-type        [1] INTEGER (30)
         super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------
@@ -146,7 +151,8 @@ public final class KrbErrorGrammar exten
         // ctime        [2]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CTIME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE, KrbErrorStatesEnum.KRB_ERR_CTIME_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CTIME_TAG_STATE,
                 KerberosConstants.KRB_ERROR_CTIME_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -157,8 +163,9 @@ public final class KrbErrorGrammar exten
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CTIME_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CTIME_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_CTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_CTIME_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreCTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -167,7 +174,8 @@ public final class KrbErrorGrammar exten
         // cusec           [3]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CTIME_STATE.ordinal()][KerberosConstants.KRB_ERROR_CUSEC_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE, KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
                 KerberosConstants.KRB_ERROR_CUSEC_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -177,8 +185,9 @@ public final class KrbErrorGrammar exten
         // cusec           [3] Microseconds OPTIONAL
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_CUSEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CUSEC_STATE,
+                UniversalTag.INTEGER,
                 new StoreCusec() );
 
         // --------------------------------------------------------------------------------------------
@@ -198,8 +207,9 @@ public final class KrbErrorGrammar exten
         super.transitions[KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE.ordinal()][UniversalTag.GENERALIZED_TIME
             .getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_STIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_STIME_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreSTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -208,7 +218,8 @@ public final class KrbErrorGrammar exten
         // susec           [5]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_STIME_STATE.ordinal()][KerberosConstants.KRB_ERROR_SUSEC_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_STIME_STATE, KrbErrorStatesEnum.KRB_ERR_SUSEC_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_STIME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SUSEC_TAG_STATE,
                 KerberosConstants.KRB_ERROR_SUSEC_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -218,8 +229,9 @@ public final class KrbErrorGrammar exten
         // susec           [5] Microseconds
         super.transitions[KrbErrorStatesEnum.KRB_ERR_SUSEC_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_SUSEC_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_SUSEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_SUSEC_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SUSEC_STATE,
+                UniversalTag.INTEGER,
                 new StoreSusec() );
 
         // --------------------------------------------------------------------------------------------
@@ -228,7 +240,8 @@ public final class KrbErrorGrammar exten
         // error-code      [6]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_SUSEC_STATE.ordinal()][KerberosConstants.KRB_ERROR_ERROR_CODE_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_SUSEC_STATE, KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SUSEC_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_TAG_STATE,
                 KerberosConstants.KRB_ERROR_ERROR_CODE_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -238,8 +251,9 @@ public final class KrbErrorGrammar exten
         // error-code      [6] Int32
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
+                UniversalTag.INTEGER,
                 new StoreErrorCode() );
 
         // --------------------------------------------------------------------------------------------
@@ -248,7 +262,8 @@ public final class KrbErrorGrammar exten
         // crealm          [7]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CREALM_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE, KrbErrorStatesEnum.KRB_ERR_CREALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CREALM_TAG_STATE,
                 KerberosConstants.KRB_ERROR_CREALM_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -258,8 +273,9 @@ public final class KrbErrorGrammar exten
         // crealm          [7] Realm
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CREALM_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CREALM_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_CREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_CREALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE,
+                UniversalTag.GENERAL_STRING,
                 new StoreCRealm() );
 
         // --------------------------------------------------------------------------------------------
@@ -268,7 +284,8 @@ public final class KrbErrorGrammar exten
         // cname           [8] PrincipalName OPTIONAL,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CREALM_STATE.ordinal()][KerberosConstants.KRB_ERROR_CNAME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE, KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
                 KerberosConstants.KRB_ERROR_CNAME_TAG,
                 new StoreCName() );
 
@@ -278,7 +295,8 @@ public final class KrbErrorGrammar exten
         // realm           [9]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CNAME_STATE.ordinal()][KerberosConstants.KRB_ERROR_REALM_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE, KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                 KerberosConstants.KRB_ERROR_REALM_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -288,8 +306,9 @@ public final class KrbErrorGrammar exten
         // realm           [9] Realm
         super.transitions[KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_REALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_REALM_STATE,
+                UniversalTag.GENERAL_STRING,
                 new StoreRealm() );
 
         // --------------------------------------------------------------------------------------------
@@ -298,7 +317,8 @@ public final class KrbErrorGrammar exten
         // sname           [10] PrincipalName,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_REALM_STATE.ordinal()][KerberosConstants.KRB_ERROR_SNAME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_REALM_STATE, KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_REALM_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
                 KerberosConstants.KRB_ERROR_SNAME_TAG,
                 new StoreSName() );
 
@@ -308,7 +328,8 @@ public final class KrbErrorGrammar exten
         // e-text          [11]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_SNAME_STATE.ordinal()][KerberosConstants.KRB_ERROR_ETEXT_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE, KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE,
                 KerberosConstants.KRB_ERROR_ETEXT_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -318,8 +339,9 @@ public final class KrbErrorGrammar exten
         // e-text          [11] KerberosString OPTIONAL
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE,
+                UniversalTag.GENERAL_STRING,
                 new StoreEText() );
 
         // --------------------------------------------------------------------------------------------
@@ -328,7 +350,8 @@ public final class KrbErrorGrammar exten
         // e-data          [12]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE.ordinal()][KerberosConstants.KRB_ERROR_EDATA_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE, KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE,
+                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
                 KerberosConstants.KRB_ERROR_EDATA_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -338,8 +361,9 @@ public final class KrbErrorGrammar exten
         // e-data          [12] OCTET STRING OPTIONAL
         super.transitions[KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE.ordinal()][UniversalTag.OCTET_STRING.getValue()] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE, KrbErrorStatesEnum.KRB_ERR_EDATA_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_EDATA_STATE,
+                UniversalTag.OCTET_STRING,
                 new StoreEData() );
 
         // ----------------------------------------- OPTIONAL transitions -----------------------------------------
@@ -350,7 +374,8 @@ public final class KrbErrorGrammar exten
         // cusec           [3]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CUSEC_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE, KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
                 KerberosConstants.KRB_ERROR_CUSEC_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -360,7 +385,8 @@ public final class KrbErrorGrammar exten
         // stime           [4]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE.ordinal()][KerberosConstants.KRB_ERROR_STIME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE, KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
                 KerberosConstants.KRB_ERROR_STIME_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -370,7 +396,8 @@ public final class KrbErrorGrammar exten
         // stime           [4]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CTIME_STATE.ordinal()][KerberosConstants.KRB_ERROR_STIME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE, KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
                 KerberosConstants.KRB_ERROR_STIME_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -382,7 +409,8 @@ public final class KrbErrorGrammar exten
         // realm           [9]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERROR_REALM_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE, KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                 KerberosConstants.KRB_ERROR_REALM_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -392,7 +420,8 @@ public final class KrbErrorGrammar exten
         // cname           [8] PrincipalName OPTIONAL,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CNAME_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE, KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
                 KerberosConstants.KRB_ERROR_CNAME_TAG,
                 new StoreCName() );
 
@@ -402,7 +431,8 @@ public final class KrbErrorGrammar exten
         // realm           [9]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CREALM_STATE.ordinal()][KerberosConstants.KRB_ERROR_REALM_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE, KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE,
+                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                 KerberosConstants.KRB_ERROR_REALM_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
 
@@ -412,7 +442,8 @@ public final class KrbErrorGrammar exten
         // e-data          [12]
         super.transitions[KrbErrorStatesEnum.KRB_ERR_SNAME_STATE.ordinal()][KerberosConstants.KRB_ERROR_EDATA_TAG] =
             new GrammarTransition<KrbErrorContainer>(
-                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE, KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
+                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
+                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
                 KerberosConstants.KRB_ERROR_EDATA_TAG,
                 new CheckNotNullLength<KrbErrorContainer>() );
     }

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,8 @@ public final class KrbPrivGrammar extend
         super.transitions[KrbPrivStatesEnum.START_STATE.ordinal()][KerberosConstants.KRB_PRIV_TAG] =
             new GrammarTransition<KrbPrivContainer>(
                 KrbPrivStatesEnum.START_STATE,
-                KrbPrivStatesEnum.KRB_PRIV_TAG_STATE, KerberosConstants.KRB_PRIV_TAG,
+                KrbPrivStatesEnum.KRB_PRIV_TAG_STATE,
+                KerberosConstants.KRB_PRIV_TAG,
                 new KrbPrivInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -85,7 +86,7 @@ public final class KrbPrivGrammar extend
             new GrammarTransition<KrbPrivContainer>(
                 KrbPrivStatesEnum.KRB_PRIV_TAG_STATE,
                 KrbPrivStatesEnum.KRB_PRIV_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KrbPrivContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -109,7 +110,7 @@ public final class KrbPrivGrammar extend
             new GrammarTransition<KrbPrivContainer>(
                 KrbPrivStatesEnum.KRB_PRIV_PVNO_TAG_STATE,
                 KrbPrivStatesEnum.KRB_PRIV_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -131,7 +132,7 @@ public final class KrbPrivGrammar extend
             new GrammarTransition<KrbPrivContainer>(
                 KrbPrivStatesEnum.KRB_PRIV_MSGTYPE_TAG_STATE,
                 KrbPrivStatesEnum.KRB_PRIV_MSGTYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeGrammar.java Thu Feb 10 10:03:17 2011
@@ -87,7 +87,7 @@ public final class KrbSafeGrammar extend
             new GrammarTransition<KrbSafeContainer>(
                 KrbSafeStatesEnum.KRB_SAFE_TAG_STATE,
                 KrbSafeStatesEnum.KRB_SAFE_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KrbSafeContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -111,7 +111,7 @@ public final class KrbSafeGrammar extend
             new GrammarTransition<KrbSafeContainer>(
                 KrbSafeStatesEnum.KRB_SAFE_PVNO_TAG_STATE,
                 KrbSafeStatesEnum.KRB_SAFE_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -133,7 +133,7 @@ public final class KrbSafeGrammar extend
             new GrammarTransition<KrbSafeContainer>(
                 KrbSafeStatesEnum.KRB_SAFE_MSGTYPE_TAG_STATE,
                 KrbSafeStatesEnum.KRB_SAFE_MSGTYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyGrammar.java Thu Feb 10 10:03:17 2011
@@ -78,7 +78,7 @@ public final class KrbSafeBodyGrammar ex
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.START_STATE,
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new KrbSafeBodyInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -89,7 +89,8 @@ public final class KrbSafeBodyGrammar ex
         super.transitions[KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_TAG_STATE.ordinal()][KerberosConstants.KRB_SAFE_BODY_USER_DATA_TAG] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_TAG_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_TAG_STATE, KerberosConstants.KRB_SAFE_BODY_USER_DATA_TAG,
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_TAG_STATE,
+                KerberosConstants.KRB_SAFE_BODY_USER_DATA_TAG,
                 new CheckNotNullLength<KrbSafeBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -101,7 +102,8 @@ public final class KrbSafeBodyGrammar ex
             .getValue()] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_TAG_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE, UniversalTag.OCTET_STRING.getValue(),
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE,
+                UniversalTag.OCTET_STRING,
                 new StoreUserData() );
 
         // --------------------------------------------------------------------------------------------
@@ -112,7 +114,8 @@ public final class KrbSafeBodyGrammar ex
         super.transitions[KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE.ordinal()][KerberosConstants.KRB_SAFE_BODY_TIMESTAMP_TAG] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_TAG_STATE, KerberosConstants.KRB_SAFE_BODY_TIMESTAMP_TAG,
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_TAG_STATE,
+                KerberosConstants.KRB_SAFE_BODY_TIMESTAMP_TAG,
                 new CheckNotNullLength<KrbSafeBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -124,7 +127,8 @@ public final class KrbSafeBodyGrammar ex
             .getValue()] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_TAG_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreTimestamp() );
 
         // --------------------------------------------------------------------------------------------
@@ -135,7 +139,8 @@ public final class KrbSafeBodyGrammar ex
         super.transitions[KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_STATE.ordinal()][KerberosConstants.KRB_SAFE_BODY_USEC_TAG] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_TIMESTAMP_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_TAG_STATE, KerberosConstants.KRB_SAFE_BODY_USEC_TAG,
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_TAG_STATE,
+                KerberosConstants.KRB_SAFE_BODY_USEC_TAG,
                 new CheckNotNullLength<KrbSafeBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -147,7 +152,7 @@ public final class KrbSafeBodyGrammar ex
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_TAG_STATE,
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreUsec() );
 
         // --------------------------------------------------------------------------------------------
@@ -171,7 +176,8 @@ public final class KrbSafeBodyGrammar ex
             .getValue()] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_NUMBER_TAG_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_NUMBER_STATE, UniversalTag.INTEGER.getValue(),
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_SEQ_NUMBER_STATE,
+                UniversalTag.INTEGER,
                 new StoreSeqNumber() );
 
         // --------------------------------------------------------------------------------------------
@@ -208,7 +214,8 @@ public final class KrbSafeBodyGrammar ex
         super.transitions[KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE.ordinal()][KerberosConstants.KRB_SAFE_BODY_USEC_TAG] =
             new GrammarTransition<KrbSafeBodyContainer>(
                 KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USER_DATA_STATE,
-                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_TAG_STATE, KerberosConstants.KRB_SAFE_BODY_USEC_TAG,
+                KrbSafeBodyStatesEnum.KRB_SAFE_BODY_USEC_TAG_STATE,
+                KerberosConstants.KRB_SAFE_BODY_USEC_TAG,
                 new CheckNotNullLength<KrbSafeBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class LastReqGrammar extend
             new GrammarTransition<LastReqContainer>(
                 LastReqStatesEnum.START_STATE,
                 LastReqStatesEnum.LAST_REQ_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new LastReqInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -85,7 +85,7 @@ public final class LastReqGrammar extend
             new GrammarTransition<LastReqContainer>(
                 LastReqStatesEnum.LAST_REQ_SEQ_STATE,
                 LastReqStatesEnum.LAST_REQ_SEQ_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<LastReqContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -109,7 +109,7 @@ public final class LastReqGrammar extend
             new GrammarTransition<LastReqContainer>(
                 LastReqStatesEnum.LAST_REQ_LR_TYPE_TAG_STATE,
                 LastReqStatesEnum.LAST_REQ_LR_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreLrType() );
 
         // --------------------------------------------------------------------------------------------
@@ -136,7 +136,7 @@ public final class LastReqGrammar extend
             new GrammarTransition<LastReqContainer>(
                 LastReqStatesEnum.LAST_REQ_LR_VALUE_TAG_STATE,
                 LastReqStatesEnum.LAST_REQ_LR_VALUE_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreLrValue() );
 
         // --------------------------------------------------------------------------------------------
@@ -150,7 +150,7 @@ public final class LastReqGrammar extend
             new GrammarTransition<LastReqContainer>(
                 LastReqStatesEnum.LAST_REQ_LR_VALUE_STATE,
                 LastReqStatesEnum.LAST_REQ_SEQ_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<LastReqContainer>() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataGrammar.java Thu Feb 10 10:03:17 2011
@@ -71,7 +71,7 @@ public final class MethodDataGrammar ext
             new GrammarTransition<MethodDataContainer>(
             MethodDataStatesEnum.START_STATE,
             MethodDataStatesEnum.METHOD_DATA_SEQ_STATE,
-            UniversalTag.SEQUENCE.getValue(),
+            UniversalTag.SEQUENCE,
             new CheckNotNullLength<MethodDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -83,7 +83,7 @@ public final class MethodDataGrammar ext
             new GrammarTransition<MethodDataContainer>(
             MethodDataStatesEnum.METHOD_DATA_SEQ_STATE,
             MethodDataStatesEnum.METHOD_DATA_SEQ_STATE,
-            UniversalTag.SEQUENCE.getValue(),
+            UniversalTag.SEQUENCE,
             new AddPaData() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class PaEncTsEncGrammar ext
             new GrammarTransition<PaEncTsEncContainer>(
                 PaEncTsEncStatesEnum.START_STATE,
                 PaEncTsEncStatesEnum.PA_ENC_TS_ENC_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new PaEncTsEncInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class PaEncTsEncGrammar ext
             new GrammarTransition<PaEncTsEncContainer>(
                 PaEncTsEncStatesEnum.PA_ENC_TS_ENC_PA_TIMESTAMP_TAG_STATE,
                 PaEncTsEncStatesEnum.PA_ENC_TS_PA_TIMESTAMP_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StorePaTimestamp() );
 
         // --------------------------------------------------------------------------------------------
@@ -127,7 +127,7 @@ public final class PaEncTsEncGrammar ext
             new GrammarTransition<PaEncTsEncContainer>(
                 PaEncTsEncStatesEnum.PA_ENC_TS_ENC_PA_USEC_TAG_STATE,
                 PaEncTsEncStatesEnum.PA_ENC_TS_ENC_PA_USEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePaUsec() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class PaDataGrammar extends
             new GrammarTransition<PaDataContainer>(
                 PaDataStatesEnum.START_STATE,
                 PaDataStatesEnum.PADATA_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new PaDataInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -98,7 +98,7 @@ public final class PaDataGrammar extends
             new GrammarTransition<PaDataContainer>(
                 PaDataStatesEnum.PADATA_TYPE_TAG_STATE,
                 PaDataStatesEnum.PADATA_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreDataType() );
 
         // --------------------------------------------------------------------------------------------
@@ -122,7 +122,7 @@ public final class PaDataGrammar extends
             new GrammarTransition<PaDataContainer>(
                 PaDataStatesEnum.PADATA_VALUE_TAG_STATE,
                 PaDataStatesEnum.PADATA_VALUE_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StorePaDataValue() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class PrincipalNameGrammar 
             new GrammarTransition<PrincipalNameContainer>(
                 PrincipalNameStatesEnum.START_STATE,
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new PrincipalNameInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class PrincipalNameGrammar 
             new GrammarTransition<PrincipalNameContainer>(
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_TYPE_TAG_STATE,
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreNameType() );
 
         // --------------------------------------------------------------------------------------------
@@ -126,7 +126,7 @@ public final class PrincipalNameGrammar 
             new GrammarTransition<PrincipalNameContainer>(
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_STRING_TAG_STATE,
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_STRING_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<PrincipalNameContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -140,7 +140,7 @@ public final class PrincipalNameGrammar 
             new GrammarTransition<PrincipalNameContainer>(
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_STRING_SEQ_STATE,
                 PrincipalNameStatesEnum.PRINCIPAL_NAME_NAME_STRING_SEQ_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreNameString() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketGrammar.java Thu Feb 10 10:03:17 2011
@@ -80,7 +80,7 @@ public final class TicketGrammar extends
             new GrammarTransition<TicketContainer>(
                 TicketStatesEnum.TICKET_STATE,
                 TicketStatesEnum.TICKET_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<TicketContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -104,7 +104,7 @@ public final class TicketGrammar extends
             new GrammarTransition<TicketContainer>(
                 TicketStatesEnum.TICKET_VNO_TAG_STATE,
                 TicketStatesEnum.TICKET_VNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreTktVno() );
 
         // --------------------------------------------------------------------------------------------
@@ -130,7 +130,7 @@ public final class TicketGrammar extends
             new GrammarTransition<TicketContainer>(
                 TicketStatesEnum.TICKET_REALM_TAG_STATE,
                 TicketStatesEnum.TICKET_REALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreRealm() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class TransitedEncodingGram
             new GrammarTransition<TransitedEncodingContainer>(
                 TransitedEncodingStatesEnum.START_STATE,
                 TransitedEncodingStatesEnum.TRANSITED_ENCODING_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new TransitedEncodingInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class TransitedEncodingGram
             new GrammarTransition<TransitedEncodingContainer>(
                 TransitedEncodingStatesEnum.TRANSITED_ENCODING_TR_TYPE_TAG_STATE,
                 TransitedEncodingStatesEnum.TRANSITED_ENCODING_TR_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreTrType() );
 
         // --------------------------------------------------------------------------------------------
@@ -126,7 +126,7 @@ public final class TransitedEncodingGram
             new GrammarTransition<TransitedEncodingContainer>(
                 TransitedEncodingStatesEnum.TRANSITED_ENCODING_CONTENTS_TAG_STATE,
                 TransitedEncodingStatesEnum.TRANSITED_ENCODING_CONTENTS_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StoreContents() );
     }
 



Mime
View raw message