directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1036830 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError: KrbErrorContainer.java KrbErrorGrammar.java KrbErrorStatesEnum.java
Date Fri, 19 Nov 2010 13:09:22 GMT
Author: elecharny
Date: Fri Nov 19 13:09:21 2010
New Revision: 1036830

URL: http://svn.apache.org/viewvc?rev=1036830&view=rev
Log:
o Removed useless states
o Fixed some Javadoc

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorStatesEnum.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java?rev=1036830&r1=1036829&r2=1036830&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorContainer.java
Fri Nov 19 13:09:21 2010
@@ -30,7 +30,7 @@ import org.apache.directory.shared.kerbe
  */
 public class KrbErrorContainer extends AbstractContainer
 {
-    /** An KDC-REQ container */
+    /** An KDC-ERROR container */
     private KrbError krbError;
     
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java?rev=1036830&r1=1036829&r2=1036830&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorGrammar.java
Fri Nov 19 13:09:21 2010
@@ -225,7 +225,7 @@ public final class KrbErrorGrammar exten
         // --------------------------------------------------------------------------------------------
         // Transition from crealm value to cname
         // --------------------------------------------------------------------------------------------
-        // cname           [8]
+        // cname           [8] PrincipalName OPTIONAL,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_CREALM_STATE.ordinal()][KerberosConstants.KRB_ERR_CNAME_TAG]
= new GrammarTransition(
             KrbErrorStatesEnum.KRB_ERR_CREALM_STATE, KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
KerberosConstants.KRB_ERR_CNAME_TAG, 
             new StoreCName() );
@@ -247,9 +247,9 @@ public final class KrbErrorGrammar exten
             new StoreRealm() );
 
         // --------------------------------------------------------------------------------------------
-        // Transition from realm value sname 
+        // Transition from realm value to sname 
         // --------------------------------------------------------------------------------------------
-        // sname           [10]
+        // sname           [10] PrincipalName,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_REALM_STATE.ordinal()][KerberosConstants.KRB_ERR_SNAME_TAG]
= new GrammarTransition(
             KrbErrorStatesEnum.KRB_ERR_REALM_STATE, KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
KerberosConstants.KRB_ERR_SNAME_TAG, 
             new StoreSName() );
@@ -324,12 +324,12 @@ public final class KrbErrorGrammar exten
             new CheckNotNullLength() );
 
         // --------------------------------------------------------------------------------------------
-        // Transition from error-code value to cname tag
+        // Transition from error-code value to cname
         // --------------------------------------------------------------------------------------------
-        // cname           [8]
+        // cname           [8] PrincipalName OPTIONAL,
         super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERR_CNAME_TAG]
= new GrammarTransition(
-            KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE, KrbErrorStatesEnum.KRB_ERR_CNAME_TAG_STATE,
KerberosConstants.KRB_ERR_CNAME_TAG, 
-            new CheckNotNullLength() );
+            KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE, KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
KerberosConstants.KRB_ERR_CNAME_TAG, 
+            new StoreCName() );
 
         // --------------------------------------------------------------------------------------------
         // Transition from crealm value to realm tag

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorStatesEnum.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorStatesEnum.java?rev=1036830&r1=1036829&r2=1036830&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorStatesEnum.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/krbError/KrbErrorStatesEnum.java
Fri Nov 19 13:09:21 2010
@@ -65,23 +65,21 @@ public enum KrbErrorStatesEnum implement
     KRB_ERR_CREALM_TAG_STATE,           // 17
     KRB_ERR_CREALM_STATE,               // 18
 
-    KRB_ERR_CNAME_TAG_STATE,            // 19
-    KRB_ERR_CNAME_STATE,                // 20
+    KRB_ERR_CNAME_STATE,                // 19
 
-    KRB_ERR_REALM_TAG_STATE,            // 21
-    KRB_ERR_REALM_STATE,                // 22
+    KRB_ERR_REALM_TAG_STATE,            // 20
+    KRB_ERR_REALM_STATE,                // 21
 
-    KRB_ERR_SNAME_TAG_STATE,            // 23
-    KRB_ERR_SNAME_STATE,                // 24
+    KRB_ERR_SNAME_STATE,                // 22
 
-    KRB_ERR_ETEXT_TAG_STATE,            // 25
-    KRB_ERR_ETEXT_STATE,                // 26
+    KRB_ERR_ETEXT_TAG_STATE,            // 23
+    KRB_ERR_ETEXT_STATE,                // 24
 
-    KRB_ERR_EDATA_TAG_STATE,            // 27
-    KRB_ERR_EDATA_STATE,                // 28
+    KRB_ERR_EDATA_TAG_STATE,            // 25
+    KRB_ERR_EDATA_STATE,                // 26
 
     // End
-    LAST_KRB_ERR_STATE;                 // 29
+    LAST_KRB_ERR_STATE;                 // 27
 
     
     /**



Mime
View raw message