directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1069317 [1/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
Author: elecharny
Date: Thu Feb 10 10:03:17 2011
New Revision: 1069317

URL: http://svn.apache.org/viewvc?rev=1069317&view=rev
Log:
Small refactoring

Modified:
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKDCIssuedGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo/ETypeInfoGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2/ETypeInfo2Grammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCredInfo/KrbCredInfoGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbPriv/KrbPrivGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafe/KrbSafeGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbSafeBody/KrbSafeBodyGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/lastReq/LastReqGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/methodData/MethodDataGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/paEncTsEnc/PaEncTsEncGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/padata/PaDataGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/principalName/PrincipalNameGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/ticket/TicketGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/transitedEncoding/TransitedEncodingGrammar.java
    directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/typedData/TypedDataGrammar.java

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/EncKdcRepPart/EncKdcRepPartGrammar.java Thu Feb 10 10:03:17 2011
@@ -84,7 +84,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.START_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_SEQ_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new EncKdcRepPartInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -135,7 +135,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_NONCE_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_NONCE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreNonce() );
 
         // --------------------------------------------------------------------------------------------
@@ -174,7 +174,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_KEY_EXPIRATION_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_KEY_EXPIRATION_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreKeyExpiration() );
 
         // --------------------------------------------------------------------------------------------
@@ -200,7 +200,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_FLAGS_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_FLAGS_STATE,
-                UniversalTag.BIT_STRING.getValue(),
+                UniversalTag.BIT_STRING,
                 new StoreFlags() );
 
         // --------------------------------------------------------------------------------------------
@@ -226,7 +226,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_AUTH_TIME_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_AUTH_TIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreAuthTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -265,7 +265,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_START_TIME_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_START_TIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreStartTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -291,7 +291,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_END_TIME_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_END_TIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreEndTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -330,7 +330,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_RENEW_TILL_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_RENEW_TILL_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreRenewTill() );
 
         // --------------------------------------------------------------------------------------------
@@ -356,7 +356,7 @@ public final class EncKdcRepPartGrammar 
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_SREALM_TAG_STATE,
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_SREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreSRealm() );
 
         // --------------------------------------------------------------------------------------------
@@ -382,7 +382,8 @@ public final class EncKdcRepPartGrammar 
         super.transitions[EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_SNAME_TAG_STATE.ordinal()][KerberosConstants.ENC_KDC_REP_PART_CADDR_TAG] =
             new GrammarTransition<EncKdcRepPartContainer>(
                 EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_SNAME_TAG_STATE,
-                EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_CADDR_TAG_STATE, KerberosConstants.ENC_KDC_REP_PART_CADDR_TAG,
+                EncKdcRepPartStatesEnum.ENC_KDC_REP_PART_CADDR_TAG_STATE,
+                KerberosConstants.ENC_KDC_REP_PART_CADDR_TAG,
                 new StoreCAddr() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adAndOr/AdAndOrGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class AdAndOrGrammar extend
             new GrammarTransition<AdAndOrContainer>(
                 AdAndOrStatesEnum.START_STATE,
                 AdAndOrStatesEnum.AD_AND_OR_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AdAndOrInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -98,7 +98,7 @@ public final class AdAndOrGrammar extend
             new GrammarTransition<AdAndOrContainer>(
                 AdAndOrStatesEnum.AD_AND_OR_CONDITION_COUNT_TAG_STATE,
                 AdAndOrStatesEnum.AD_AND_OR_CONDITION_COUNT_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreConditionCount() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKDCIssuedGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKDCIssuedGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKDCIssuedGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/adKdcIssued/AdKDCIssuedGrammar.java Thu Feb 10 10:03:17 2011
@@ -76,7 +76,7 @@ public final class AdKDCIssuedGrammar ex
             new GrammarTransition<AdKdcIssuedContainer>(
                 AdKDCIssuedStatesEnum.START_STATE,
                 AdKDCIssuedStatesEnum.AD_KDC_ISSUED_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AdKdcIssuedInit() );
 
         super.transitions[AdKDCIssuedStatesEnum.AD_KDC_ISSUED_SEQ_STATE.ordinal()][KerberosConstants.AD_KDC_ISSUED_AD_CHECKSUM_TAG] =
@@ -111,7 +111,7 @@ public final class AdKDCIssuedGrammar ex
             new GrammarTransition<AdKdcIssuedContainer>(
                 AdKDCIssuedStatesEnum.AD_KDC_ISSUED_I_REALM_TAG_STATE,
                 AdKDCIssuedStatesEnum.AD_KDC_ISSUED_I_REALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreIRealm() );
 
         super.transitions[AdKDCIssuedStatesEnum.AD_KDC_ISSUED_I_REALM_STATE.ordinal()][KerberosConstants.AD_KDC_ISSUED_I_SNAME_TAG] =

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apRep/ApRepGrammar.java Thu Feb 10 10:03:17 2011
@@ -86,7 +86,7 @@ public final class ApRepGrammar extends 
             new GrammarTransition<ApRepContainer>(
                 ApRepStatesEnum.AP_REP_STATE,
                 ApRepStatesEnum.AP_REP_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<ApRepContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -110,7 +110,7 @@ public final class ApRepGrammar extends 
             new GrammarTransition<ApRepContainer>(
                 ApRepStatesEnum.AP_REP_PVNO_TAG_STATE,
                 ApRepStatesEnum.AP_REP_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -136,7 +136,7 @@ public final class ApRepGrammar extends 
             new GrammarTransition<ApRepContainer>(
                 ApRepStatesEnum.AP_REP_MSG_TYPE_TAG_STATE,
                 ApRepStatesEnum.AP_REP_MSG_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/apReq/ApReqGrammar.java Thu Feb 10 10:03:17 2011
@@ -88,7 +88,7 @@ public final class ApReqGrammar extends 
             new GrammarTransition<ApReqContainer>(
                 ApReqStatesEnum.AP_REQ_STATE,
                 ApReqStatesEnum.AP_REQ_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<ApReqContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -112,7 +112,7 @@ public final class ApReqGrammar extends 
             new GrammarTransition<ApReqContainer>(
                 ApReqStatesEnum.AP_REQ_PVNO_TAG_STATE,
                 ApReqStatesEnum.AP_REQ_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -138,7 +138,7 @@ public final class ApReqGrammar extends 
             new GrammarTransition<ApReqContainer>(
                 ApReqStatesEnum.AP_REQ_MSG_TYPE_TAG_STATE,
                 ApReqStatesEnum.AP_REQ_MSG_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------
@@ -164,7 +164,7 @@ public final class ApReqGrammar extends 
             new GrammarTransition<ApReqContainer>(
                 ApReqStatesEnum.AP_REQ_AP_OPTIONS_TAG_STATE,
                 ApReqStatesEnum.AP_REQ_AP_OPTIONS_STATE,
-                UniversalTag.BIT_STRING.getValue(),
+                UniversalTag.BIT_STRING,
                 new StoreApOptions() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authenticator/AuthenticatorGrammar.java Thu Feb 10 10:03:17 2011
@@ -92,7 +92,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<AuthenticatorContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -116,7 +116,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_AUTHENTICATOR_VNO_TAG_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_AUTHENTICATOR_VNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreAuthenticatorVno() );
 
         // --------------------------------------------------------------------------------------------
@@ -142,7 +142,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_TAG_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreCRealm() );
 
         // --------------------------------------------------------------------------------------------
@@ -207,7 +207,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_CUSEC_TAG_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_CUSEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreCusec() );
 
         // --------------------------------------------------------------------------------------------
@@ -233,7 +233,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_CTIME_TAG_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_CTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreCTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -311,7 +311,7 @@ public final class AuthenticatorGrammar 
             new GrammarTransition<AuthenticatorContainer>(
                 AuthenticatorStatesEnum.AUTHENTICATOR_SEQ_NUMBER_TAG_STATE,
                 AuthenticatorStatesEnum.AUTHENTICATOR_SEQ_NUMBER_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreSeqNumber() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/authorizationData/AuthorizationDataGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class AuthorizationDataGram
             new GrammarTransition<AuthorizationDataContainer>(
                 AuthorizationDataStatesEnum.START_STATE,
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_SEQ_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AuthorizationDataInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -85,7 +85,7 @@ public final class AuthorizationDataGram
             new GrammarTransition<AuthorizationDataContainer>(
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_SEQ_SEQ_STATE,
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<AuthorizationDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -109,7 +109,7 @@ public final class AuthorizationDataGram
             new GrammarTransition<AuthorizationDataContainer>(
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_ADTYPE_TAG_STATE,
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_ADTYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreAdType() );
 
         // --------------------------------------------------------------------------------------------
@@ -135,7 +135,7 @@ public final class AuthorizationDataGram
             new GrammarTransition<AuthorizationDataContainer>(
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_ADDATA_TAG_STATE,
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_ADDATA_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StoreAdData() );
 
         // --------------------------------------------------------------------------------------------
@@ -148,7 +148,7 @@ public final class AuthorizationDataGram
             new GrammarTransition<AuthorizationDataContainer>(
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_ADDATA_STATE,
                 AuthorizationDataStatesEnum.AUTHORIZATION_DATA_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<AuthorizationDataContainer>() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/checksum/ChecksumGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class ChecksumGrammar exten
             new GrammarTransition<ChecksumContainer>(
                 ChecksumStatesEnum.START_STATE,
                 ChecksumStatesEnum.CHECKSUM_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new ChecksumInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -98,7 +98,7 @@ public final class ChecksumGrammar exten
             new GrammarTransition<ChecksumContainer>(
                 ChecksumStatesEnum.CHECKSUM_TYPE_TAG_STATE,
                 ChecksumStatesEnum.CHECKSUM_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreCksumType() );
 
         // --------------------------------------------------------------------------------------------
@@ -122,7 +122,7 @@ public final class ChecksumGrammar exten
             new GrammarTransition<ChecksumContainer>(
                 ChecksumStatesEnum.CHECKSUM_CHECKSUM_TAG_STATE,
                 ChecksumStatesEnum.CHECKSUM_CHECKSUM_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StoreChecksum() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encApRepPart/EncApRepPartGrammar.java Thu Feb 10 10:03:17 2011
@@ -87,7 +87,7 @@ public final class EncApRepPartGrammar e
             new GrammarTransition<EncApRepPartContainer>(
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_STATE,
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<EncApRepPartContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -111,7 +111,7 @@ public final class EncApRepPartGrammar e
             new GrammarTransition<EncApRepPartContainer>(
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_CTIME_TAG_STATE,
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_CTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreCTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -137,7 +137,7 @@ public final class EncApRepPartGrammar e
             new GrammarTransition<EncApRepPartContainer>(
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_CUSEC_TAG_STATE,
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_CUSEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreCusec() );
 
         // --------------------------------------------------------------------------------------------
@@ -190,7 +190,7 @@ public final class EncApRepPartGrammar e
             new GrammarTransition<EncApRepPartContainer>(
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_SEQ_NUMBER_TAG_STATE,
                 EncApRepPartStatesEnum.ENC_AP_REP_PART_SEQ_NUMBER_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreSeqNumber() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbCredPart/EncKrbCredPartGrammar.java Thu Feb 10 10:03:17 2011
@@ -79,7 +79,8 @@ public final class EncKrbCredPartGrammar
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TAG_STATE.ordinal()][UniversalTag.SEQUENCE.getValue()] =
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TAG_STATE,
-                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_SEQ_TAG_STATE, UniversalTag.SEQUENCE.getValue(),
+                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_SEQ_TAG_STATE,
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<EncKrbCredPartContainer>() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_SEQ_TAG_STATE.ordinal()][KerberosConstants.ENC_KRB_CRED_TICKET_INFO_TAG] =
@@ -92,13 +93,15 @@ public final class EncKrbCredPartGrammar
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_TAG_STATE.ordinal()][UniversalTag.SEQUENCE.getValue()] =
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_TAG_STATE,
-                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE, UniversalTag.SEQUENCE.getValue(),
+                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE,
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<EncKrbCredPartContainer>() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE.ordinal()][UniversalTag.SEQUENCE.getValue()] =
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE,
-                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE, UniversalTag.SEQUENCE.getValue(),
+                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE,
+                UniversalTag.SEQUENCE,
                 new StoreTicketInfo() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TICKET_INFO_STATE.ordinal()][KerberosConstants.ENC_KRB_CRED_PART_NONCE_TAG] =
@@ -111,7 +114,8 @@ public final class EncKrbCredPartGrammar
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_NONCE_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()] =
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_NONCE_TAG_STATE,
-                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_NONCE_STATE, UniversalTag.INTEGER.getValue(),
+                EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_NONCE_STATE,
+                UniversalTag.INTEGER,
                 new StoreNonce() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_NONCE_STATE.ordinal()][KerberosConstants.ENC_KRB_CRED_PART_TIMESTAMP_TAG] =
@@ -125,7 +129,7 @@ public final class EncKrbCredPartGrammar
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TIMESTAMP_TAG_STATE,
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TIMESTAMP_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreTimestamp() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_TIMESTAMP_STATE.ordinal()][KerberosConstants.ENC_KRB_CRED_PART_USEC_TAG] =
@@ -139,7 +143,7 @@ public final class EncKrbCredPartGrammar
             new GrammarTransition<EncKrbCredPartContainer>(
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_USEC_TAG_STATE,
                 EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_USEC_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreUsec() );
 
         super.transitions[EncKrbCredPartStatesEnum.ENC_KRB_CRED_PART_USEC_STATE.ordinal()][KerberosConstants.ENC_KRB_CRED_PART_SENDER_ADDRESS_TAG] =

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encKrbPrivPart/EncKrbPrivPartGrammar.java Thu Feb 10 10:03:17 2011
@@ -76,7 +76,8 @@ public final class EncKrbPrivPartGrammar
         // EncKrbPrivPart  ::= [APPLICATION 28] EncKrbPrivPart   ::= SEQUENCE {
         super.transitions[EncKrbPrivPartStatesEnum.START_STATE.ordinal()][KerberosConstants.ENC_KRB_PRIV_PART_TAG] =
             new GrammarTransition<EncKrbPrivPartContainer>(
-                EncKrbPrivPartStatesEnum.START_STATE, EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TAG_STATE,
+                EncKrbPrivPartStatesEnum.START_STATE,
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TAG_STATE,
                 KerberosConstants.ENC_KRB_PRIV_PART_TAG,
                 new EncKrbPrivPartInit() );
 
@@ -88,7 +89,8 @@ public final class EncKrbPrivPartGrammar
             .getValue()] =
             new GrammarTransition<EncKrbPrivPartContainer>(
                 EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TAG_STATE,
-                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_TAG_STATE, UniversalTag.SEQUENCE.getValue(),
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_TAG_STATE,
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<EncKrbPrivPartContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -112,7 +114,8 @@ public final class EncKrbPrivPartGrammar
             .getValue()] =
             new GrammarTransition<EncKrbPrivPartContainer>(
                 EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USER_DATA_TAG_STATE,
-                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USER_DATA_STATE, UniversalTag.OCTET_STRING.getValue(),
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USER_DATA_STATE,
+                UniversalTag.OCTET_STRING,
                 new StoreUserData() );
 
         // --------------------------------------------------------------------------------------------
@@ -136,7 +139,8 @@ public final class EncKrbPrivPartGrammar
             .getValue()] =
             new GrammarTransition<EncKrbPrivPartContainer>(
                 EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_TAG_STATE,
-                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_TIMESTAMP_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreTimestamp() );
 
         // --------------------------------------------------------------------------------------------
@@ -160,7 +164,8 @@ public final class EncKrbPrivPartGrammar
             .getValue()] =
             new GrammarTransition<EncKrbPrivPartContainer>(
                 EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USEC_TAG_STATE,
-                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USEC_STATE, UniversalTag.INTEGER.getValue(),
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_USEC_STATE,
+                UniversalTag.INTEGER,
                 new StoreUsec() );
 
         // --------------------------------------------------------------------------------------------
@@ -184,7 +189,8 @@ public final class EncKrbPrivPartGrammar
             .getValue()] =
             new GrammarTransition<EncKrbPrivPartContainer>(
                 EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_NUMBER_TAG_STATE,
-                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_NUMBER_STATE, UniversalTag.INTEGER.getValue(),
+                EncKrbPrivPartStatesEnum.ENC_KRB_PRIV_PART_SEQ_NUMBER_STATE,
+                UniversalTag.INTEGER,
                 new StoreSeqNumber() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encTicketPart/EncTicketPartGrammar.java Thu Feb 10 10:03:17 2011
@@ -86,7 +86,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<EncTicketPartContainer>() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_SEQ_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_FLAGS_TAG] =
@@ -101,7 +101,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_FLAGS_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_FLAGS_STATE,
-                UniversalTag.BIT_STRING.getValue(),
+                UniversalTag.BIT_STRING,
                 new StoreFlags() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_FLAGS_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_KEY_TAG] =
@@ -123,7 +123,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreCRealm() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_CNAME_TAG] =
@@ -152,7 +152,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_AUTHTIME_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_AUTHTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreAuthTime() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_AUTHTIME_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_STARTTIME_TAG] =
@@ -167,7 +167,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_STARTTIME_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_STARTTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreStartTime() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_STARTTIME_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_ENDTIME_TAG] =
@@ -182,7 +182,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_ENDTIME_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_ENDTIME_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreEndTime() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_ENDTIME_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_RENEWTILL_TAG] =
@@ -197,7 +197,7 @@ public final class EncTicketPartGrammar 
             new GrammarTransition<EncTicketPartContainer>(
                 EncTicketPartStatesEnum.ENC_TICKET_PART_RENEWTILL_TAG_STATE,
                 EncTicketPartStatesEnum.ENC_TICKET_PART_RENEWTILL_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreRenewtill() );
 
         super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_RENEWTILL_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_CADDR_TAG] =

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptedData/EncryptedDataGrammar.java Thu Feb 10 10:03:17 2011
@@ -73,8 +73,9 @@ public final class EncryptedDataGrammar 
         // EncryptedData   ::= SEQUENCE
         super.transitions[EncryptedDataStatesEnum.START_STATE.ordinal()][UniversalTag.SEQUENCE.getValue()] =
             new GrammarTransition<EncryptedDataContainer>(
-                EncryptedDataStatesEnum.START_STATE, EncryptedDataStatesEnum.ENCRYPTED_DATA_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                EncryptedDataStatesEnum.START_STATE,
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_SEQ_STATE,
+                UniversalTag.SEQUENCE,
                 new EncryptedDataInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -85,7 +86,8 @@ public final class EncryptedDataGrammar 
         super.transitions[EncryptedDataStatesEnum.ENCRYPTED_DATA_SEQ_STATE.ordinal()][KerberosConstants.ENCRYPTED_DATA_ETYPE_TAG] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_SEQ_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_TAG_STATE, KerberosConstants.ENCRYPTED_DATA_ETYPE_TAG,
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_TAG_STATE,
+                KerberosConstants.ENCRYPTED_DATA_ETYPE_TAG,
                 new CheckNotNullLength<EncryptedDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -97,7 +99,8 @@ public final class EncryptedDataGrammar 
             .getValue()] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_TAG_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE, UniversalTag.INTEGER.getValue(),
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE,
+                UniversalTag.INTEGER,
                 new StoreEType() );
 
         // --------------------------------------------------------------------------------------------
@@ -109,7 +112,8 @@ public final class EncryptedDataGrammar 
         super.transitions[EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE.ordinal()][KerberosConstants.ENCRYPTED_DATA_KVNO_TAG] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_TAG_STATE, KerberosConstants.ENCRYPTED_DATA_KVNO_TAG,
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_TAG_STATE,
+                KerberosConstants.ENCRYPTED_DATA_KVNO_TAG,
                 new CheckNotNullLength<EncryptedDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -121,7 +125,8 @@ public final class EncryptedDataGrammar 
         super.transitions[EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE.ordinal()][KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_ETYPE_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_TAG_STATE, KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG,
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_TAG_STATE,
+                KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG,
                 new CheckNotNullLength<EncryptedDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -134,7 +139,8 @@ public final class EncryptedDataGrammar 
             .getValue()] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_TAG_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_STATE, UniversalTag.INTEGER.getValue(),
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_STATE,
+                UniversalTag.INTEGER,
                 new StoreKvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -146,7 +152,8 @@ public final class EncryptedDataGrammar 
         super.transitions[EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_STATE.ordinal()][KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_KVNO_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_TAG_STATE, KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG,
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_TAG_STATE,
+                KerberosConstants.ENCRYPTED_DATA_CIPHER_TAG,
                 new CheckNotNullLength<EncryptedDataContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -159,7 +166,8 @@ public final class EncryptedDataGrammar 
             .getValue()] =
             new GrammarTransition<EncryptedDataContainer>(
                 EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_TAG_STATE,
-                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_STATE, UniversalTag.OCTET_STRING.getValue(),
+                EncryptedDataStatesEnum.ENCRYPTED_DATA_CIPHER_STATE,
+                UniversalTag.OCTET_STRING,
                 new StoreCipher() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class EncryptionKeyGrammar 
             new GrammarTransition<EncryptionKeyContainer>(
                 EncryptionKeyStatesEnum.START_STATE,
                 EncryptionKeyStatesEnum.ENCRYPTION_KEY_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new EncryptionKeyInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class EncryptionKeyGrammar 
             new GrammarTransition<EncryptionKeyContainer>(
                 EncryptionKeyStatesEnum.ENCRYPTION_KEY_TYPE_TAG_STATE,
                 EncryptionKeyStatesEnum.ENCRYPTION_KEY_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreKeyType() );
 
         // --------------------------------------------------------------------------------------------
@@ -124,7 +124,8 @@ public final class EncryptionKeyGrammar 
             .getValue()] =
             new GrammarTransition<EncryptionKeyContainer>(
                 EncryptionKeyStatesEnum.ENCRYPTION_KEY_VALUE_TAG_STATE,
-                EncryptionKeyStatesEnum.ENCRYPTION_KEY_VALUE_STATE, UniversalTag.OCTET_STRING.getValue(),
+                EncryptionKeyStatesEnum.ENCRYPTION_KEY_VALUE_STATE,
+                UniversalTag.OCTET_STRING,
                 new StoreKeyValue() );
     }
 

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

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

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfo2Entry/ETypeInfo2EntryGrammar.java Thu Feb 10 10:03:17 2011
@@ -75,7 +75,7 @@ public final class ETypeInfo2EntryGramma
             new GrammarTransition<ETypeInfo2EntryContainer>(
                 ETypeInfo2EntryStatesEnum.START_STATE,
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new ETypeInfo2EntryInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class ETypeInfo2EntryGramma
             new GrammarTransition<ETypeInfo2EntryContainer>(
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_ETYPE_TAG_STATE,
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_ETYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreEType() );
 
         // --------------------------------------------------------------------------------------------
@@ -138,7 +138,7 @@ public final class ETypeInfo2EntryGramma
             new GrammarTransition<ETypeInfo2EntryContainer>(
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_SALT_TAG_STATE,
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_SALT_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreSalt() );
 
         // --------------------------------------------------------------------------------------------
@@ -164,7 +164,7 @@ public final class ETypeInfo2EntryGramma
             new GrammarTransition<ETypeInfo2EntryContainer>(
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_S2KPARAMS_TAG_STATE,
                 ETypeInfo2EntryStatesEnum.ETYPE_INFO2_ENTRY_S2KPARAMS_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StoreS2KParams() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/etypeInfoEntry/ETypeInfoEntryGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class ETypeInfoEntryGrammar
             new GrammarTransition<ETypeInfoEntryContainer>(
                 ETypeInfoEntryStatesEnum.START_STATE,
                 ETypeInfoEntryStatesEnum.ETYPE_INFO_ENTRY_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new ETypeInfoEntryInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class ETypeInfoEntryGrammar
             new GrammarTransition<ETypeInfoEntryContainer>(
                 ETypeInfoEntryStatesEnum.ETYPE_INFO_ENTRY_ETYPE_TAG_STATE,
                 ETypeInfoEntryStatesEnum.ETYPE_INFO_ENTRY_ETYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreEType() );
 
         // --------------------------------------------------------------------------------------------
@@ -126,7 +126,7 @@ public final class ETypeInfoEntryGrammar
             new GrammarTransition<ETypeInfoEntryContainer>(
                 ETypeInfoEntryStatesEnum.ETYPE_INFO_ENTRY_SALT_TAG_STATE,
                 ETypeInfoEntryStatesEnum.ETYPE_INFO_ENTRY_SALT_STATE,
-                UniversalTag.OCTET_STRING.getValue(),
+                UniversalTag.OCTET_STRING,
                 new StoreSalt() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddress/HostAddressGrammar.java Thu Feb 10 10:03:17 2011
@@ -74,7 +74,7 @@ public final class HostAddressGrammar ex
             new GrammarTransition<HostAddressContainer>(
                 HostAddressStatesEnum.START_STATE,
                 HostAddressStatesEnum.HOST_ADDRESS_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new HostAddressInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class HostAddressGrammar ex
             new GrammarTransition<HostAddressContainer>(
                 HostAddressStatesEnum.HOST_ADDRESS_ADDR_TYPE_TAG_STATE,
                 HostAddressStatesEnum.HOST_ADDRESS_ADDR_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreAddrType() );
 
         // --------------------------------------------------------------------------------------------
@@ -126,7 +126,7 @@ public final class HostAddressGrammar ex
             new GrammarTransition<HostAddressContainer>(
                 HostAddressStatesEnum.HOST_ADDRESS_ADDRESS_TAG_STATE,
                 HostAddressStatesEnum.HOST_ADDRESS_ADDRESS_STATE,
-                UniversalTag.OCTET_STRING.ordinal(),
+                UniversalTag.OCTET_STRING,
                 new StoreAddress() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/hostAddresses/HostAddressesGrammar.java Thu Feb 10 10:03:17 2011
@@ -71,7 +71,7 @@ public final class HostAddressesGrammar 
             new GrammarTransition<HostAddressesContainer>(
                 HostAddressesStatesEnum.START_STATE,
                 HostAddressesStatesEnum.HOST_ADDRESSES_ADDRESS_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<HostAddressesContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -84,7 +84,7 @@ public final class HostAddressesGrammar 
             new GrammarTransition<HostAddressesContainer>(
                 HostAddressesStatesEnum.HOST_ADDRESSES_ADDRESS_STATE,
                 HostAddressesStatesEnum.HOST_ADDRESSES_ADDRESS_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AddHostAddress() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcRep/KdcRepGrammar.java Thu Feb 10 10:03:17 2011
@@ -78,7 +78,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.START_STATE,
                 KdcRepStatesEnum.KDC_REP_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KdcRepContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -102,7 +102,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.KDC_REP_PVNO_TAG_STATE,
                 KdcRepStatesEnum.KDC_REP_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -128,7 +128,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.KDC_REP_MSG_TYPE_TAG_STATE,
                 KdcRepStatesEnum.KDC_REP_MSG_TYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------
@@ -154,7 +154,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.KDC_REP_PA_DATA_TAG_STATE,
                 KdcRepStatesEnum.KDC_REP_PA_DATA_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KdcRepContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -167,7 +167,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.KDC_REP_PA_DATA_STATE,
                 KdcRepStatesEnum.KDC_REP_PA_DATA_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AddPaData() );
 
         // --------------------------------------------------------------------------------------------
@@ -206,7 +206,7 @@ public final class KdcRepGrammar extends
             new GrammarTransition<KdcRepContainer>(
                 KdcRepStatesEnum.KDC_REP_CREALM_TAG_STATE,
                 KdcRepStatesEnum.KDC_REP_CREALM_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreCRealm() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReq/KdcReqGrammar.java Thu Feb 10 10:03:17 2011
@@ -75,7 +75,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.START_STATE,
                 KdcReqStatesEnum.KDC_REQ_PVNO_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KdcReqContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -99,7 +99,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.KDC_REQ_PVNO_STATE,
                 KdcReqStatesEnum.KDC_REQ_MSG_TYPE_TAG_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         // --------------------------------------------------------------------------------------------
@@ -125,7 +125,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.KDC_REQ_MSG_TYPE_STATE,
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_OR_REQ_BODY_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         // --------------------------------------------------------------------------------------------
@@ -164,7 +164,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_TAG_STATE,
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_SEQ_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KdcReqContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -177,7 +177,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_SEQ_STATE,
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AddPaData() );
 
         // --------------------------------------------------------------------------------------------
@@ -190,7 +190,7 @@ public final class KdcReqGrammar extends
             new GrammarTransition<KdcReqContainer>(
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_STATE,
                 KdcReqStatesEnum.KDC_REQ_PA_DATA_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new AddPaData() );
 
         // --------------------------------------------------------------------------------------------

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/kdcReqBody/KdcReqBodyGrammar.java Thu Feb 10 10:03:17 2011
@@ -86,7 +86,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.START_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new KdcReqBodyInit() );
 
         // --------------------------------------------------------------------------------------------
@@ -97,7 +97,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_KDC_OPTIONS_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_STATE, KerberosConstants.KDC_REQ_BODY_KDC_OPTIONS_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_STATE,
+                KerberosConstants.KDC_REQ_BODY_KDC_OPTIONS_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -109,7 +110,8 @@ public final class KdcReqBodyGrammar ext
             .getValue()] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_KDC_OPTIONS_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE, UniversalTag.BIT_STRING.getValue(),
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE,
+                UniversalTag.BIT_STRING,
                 new StoreKdcOptions() );
 
         // --------------------------------------------------------------------------------------------
@@ -121,7 +123,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_CNAME_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_STATE, KerberosConstants.KDC_REQ_BODY_CNAME_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_STATE,
+                KerberosConstants.KDC_REQ_BODY_CNAME_TAG,
                 new StoreCName() );
 
         // --------------------------------------------------------------------------------------------
@@ -133,7 +136,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_REALM_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_REALM_TAG_STATE, KerberosConstants.KDC_REQ_BODY_REALM_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_REALM_TAG_STATE,
+                KerberosConstants.KDC_REQ_BODY_REALM_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -160,7 +164,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_REALM_TAG_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE,
-                UniversalTag.GENERAL_STRING.getValue(),
+                UniversalTag.GENERAL_STRING,
                 new StoreRealm() );
 
         // --------------------------------------------------------------------------------------------
@@ -172,7 +176,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_SNAME_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_STATE, KerberosConstants.KDC_REQ_BODY_SNAME_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_STATE,
+                KerberosConstants.KDC_REQ_BODY_SNAME_TAG,
                 new StoreSName() );
 
         // --------------------------------------------------------------------------------------------
@@ -184,7 +189,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_FROM_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_FROM_STATE, KerberosConstants.KDC_REQ_BODY_FROM_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_FROM_STATE,
+                KerberosConstants.KDC_REQ_BODY_FROM_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -196,7 +202,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_TILL_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_SNAME_OR_FROM_OR_TILL_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_TILL_STATE, KerberosConstants.KDC_REQ_BODY_TILL_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_TILL_STATE,
+                KerberosConstants.KDC_REQ_BODY_TILL_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -236,7 +243,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_FROM_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_TILL_TAG_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreFrom() );
 
         // --------------------------------------------------------------------------------------------
@@ -262,7 +269,8 @@ public final class KdcReqBodyGrammar ext
             .getValue()] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_TILL_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE, UniversalTag.GENERALIZED_TIME.getValue(),
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE,
+                UniversalTag.GENERALIZED_TIME,
                 new StoreTill() );
 
         // --------------------------------------------------------------------------------------------
@@ -274,7 +282,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_RTIME_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_STATE, KerberosConstants.KDC_REQ_BODY_RTIME_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_STATE,
+                KerberosConstants.KDC_REQ_BODY_RTIME_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -286,7 +295,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_NONCE_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_OR_NONCE_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_NONCE_STATE, KerberosConstants.KDC_REQ_BODY_NONCE_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_NONCE_STATE,
+                KerberosConstants.KDC_REQ_BODY_NONCE_TAG,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -300,7 +310,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_RTIME_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_NONCE_TAG_STATE,
-                UniversalTag.GENERALIZED_TIME.getValue(),
+                UniversalTag.GENERALIZED_TIME,
                 new StoreRTime() );
 
         // --------------------------------------------------------------------------------------------
@@ -326,7 +336,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_NONCE_TAG_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ETYPE_TAG_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StoreNonce() );
 
         // --------------------------------------------------------------------------------------------
@@ -352,7 +362,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ETYPE_SEQ_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ETYPE_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new ETypeSequence() );
 
         // --------------------------------------------------------------------------------------------
@@ -365,7 +375,7 @@ public final class KdcReqBodyGrammar ext
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ETYPE_STATE,
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ETYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new AddEType() );
 
         // --------------------------------------------------------------------------------------------
@@ -457,7 +467,8 @@ public final class KdcReqBodyGrammar ext
             .getValue()] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_TAG_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_SEQ_STATE, UniversalTag.SEQUENCE.getValue(),
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_SEQ_STATE,
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KdcReqBodyContainer>() );
 
         // --------------------------------------------------------------------------------------------
@@ -469,7 +480,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_SEQ_STATE.ordinal()][KerberosConstants.TICKET_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_SEQ_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE, KerberosConstants.TICKET_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE,
+                KerberosConstants.TICKET_TAG,
                 new AddTicket() );
 
         // --------------------------------------------------------------------------------------------
@@ -481,7 +493,8 @@ public final class KdcReqBodyGrammar ext
         super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE.ordinal()][KerberosConstants.TICKET_TAG] =
             new GrammarTransition<KdcReqBodyContainer>(
                 KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE,
-                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE, KerberosConstants.TICKET_TAG,
+                KdcReqBodyStatesEnum.KDC_REQ_BODY_ADDITIONAL_TICKETS_STATE,
+                KerberosConstants.TICKET_TAG,
                 new AddTicket() );
     }
 

Modified: directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredGrammar.java?rev=1069317&r1=1069316&r2=1069317&view=diff
==============================================================================
--- directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredGrammar.java (original)
+++ directory/apacheds/branches/m1/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbCred/KrbCredGrammar.java Thu Feb 10 10:03:17 2011
@@ -78,7 +78,7 @@ public final class KrbCredGrammar extend
             new GrammarTransition<KrbCredContainer>(
                 KrbCredStatesEnum.KRB_CRED_TAG_STATE,
                 KrbCredStatesEnum.KRB_CRED_SEQ_TAG_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KrbCredContainer>() );
 
         super.transitions[KrbCredStatesEnum.KRB_CRED_SEQ_TAG_STATE.ordinal()][KerberosConstants.KRB_CRED_PVNO_TAG] =
@@ -92,7 +92,7 @@ public final class KrbCredGrammar extend
             new GrammarTransition<KrbCredContainer>(
                 KrbCredStatesEnum.KRB_CRED_PVNO_TAG_STATE,
                 KrbCredStatesEnum.KRB_CRED_PVNO_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new StorePvno() );
 
         super.transitions[KrbCredStatesEnum.KRB_CRED_PVNO_STATE.ordinal()][KerberosConstants.KRB_CRED_MSGTYPE_TAG] =
@@ -106,7 +106,7 @@ public final class KrbCredGrammar extend
             new GrammarTransition<KrbCredContainer>(
                 KrbCredStatesEnum.KRB_CRED_MSGTYPE_TAG_STATE,
                 KrbCredStatesEnum.KRB_CRED_MSGTYPE_STATE,
-                UniversalTag.INTEGER.getValue(),
+                UniversalTag.INTEGER,
                 new CheckMsgType() );
 
         super.transitions[KrbCredStatesEnum.KRB_CRED_MSGTYPE_STATE.ordinal()][KerberosConstants.KRB_CRED_TICKETS_TAG] =
@@ -120,7 +120,7 @@ public final class KrbCredGrammar extend
             new GrammarTransition<KrbCredContainer>(
                 KrbCredStatesEnum.KRB_CRED_TICKETS_TAG_STATE,
                 KrbCredStatesEnum.KRB_CRED_TICKETS_STATE,
-                UniversalTag.SEQUENCE.getValue(),
+                UniversalTag.SEQUENCE,
                 new CheckNotNullLength<KrbCredContainer>() );
 
         super.transitions[KrbCredStatesEnum.KRB_CRED_TICKETS_STATE.ordinal()][KerberosConstants.TICKET_TAG] =



Mime
View raw message