directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1039107 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos: KerberosConstants.java KerberosMessageType.java
Date Thu, 25 Nov 2010 17:28:15 GMT
Author: elecharny
Date: Thu Nov 25 17:28:14 2010
New Revision: 1039107

URL: http://svn.apache.org/viewvc?rev=1039107&view=rev
Log:
o Added the EncAsRepPart and EncTgsRepPart tags
o Added the MessageType for those two messages

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

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosConstants.java?rev=1039107&r1=1039106&r2=1039107&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosConstants.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosConstants.java
Thu Nov 25 17:28:14 2010
@@ -90,6 +90,12 @@ public class KerberosConstants
     public static final int KRB_PRIV_MSGTYPE_TAG = 0xA1;
     public static final int KRB_PRIV_ENC_PART_TAG = 0xA3;
 
+    /** EncAsRepPart's tags */
+    public static final int ENC_AS_REP_PART_TAG = 0x79;
+    
+    /** EncTgsRepPart's tags */
+    public static final int ENC_TGS_REP_PART_TAG = 0x7A;
+    
     /** EncKrbPrivPart */
     public static final int ENC_KRB_PRIV_PART_TAG = 0x7C;
     public static final int ENC_KRB_PRIV_PART_USER_DATA_TAG = 0xA0;
@@ -140,7 +146,15 @@ public class KerberosConstants
     public static final int ENC_KDC_REP_PART_SNAME_TAG = 0xAA;
     public static final int ENC_KDC_REP_PART_CADDR_TAG = 0xAB;
     
-
+    /** EncKrbCredPart tags */
+    public static final int ENC_KRB_CRED_PART_TAG = 0x7D;
+    public static final int ENC_KRB_CRED_TICKET_INFO_TAG = 0xA0;
+    public static final int ENC_KRB_CRED_PART_NONCE_TAG = 0xA1;
+    public static final int ENC_KRB_CRED_PART_TIMESTAMP_TAG = 0xA2;
+    public static final int ENC_KRB_CRED_PART_USEC_TAG = 0xA3;
+    public static final int ENC_KRB_CRED_PART_SENDER_ADDRESS_TAG = 0xA4;
+    public static final int ENC_KRB_CRED_PART_RECIPIENT_ADDRESS_TAG = 0xA5;
+    
     /** Encrypteddata's tags */
     public static final int ENCRYPTED_DATA_ETYPE_TAG = 0xA0;
     public static final int ENCRYPTED_DATA_KVNO_TAG = 0xA1;
@@ -163,15 +177,6 @@ public class KerberosConstants
     public static final int HOST_ADDRESS_ADDR_TYPE_TAG = 0xA0;
     public static final int HOST_ADDRESS_ADDRESS_TAG = 0xA1;
     
-    /** EncKrbCredPart tags */
-    public static final int ENC_KRB_CRED_PART_TAG = 0x7D;
-    public static final int ENC_KRB_CRED_TICKET_INFO_TAG = 0xA0;
-    public static final int ENC_KRB_CRED_PART_NONCE_TAG = 0xA1;
-    public static final int ENC_KRB_CRED_PART_TIMESTAMP_TAG = 0xA2;
-    public static final int ENC_KRB_CRED_PART_USEC_TAG = 0xA3;
-    public static final int ENC_KRB_CRED_PART_SENDER_ADDRESS_TAG = 0xA4;
-    public static final int ENC_KRB_CRED_PART_RECIPIENT_ADDRESS_TAG = 0xA5;
-    
     /** KrbCredInfo tags */
     public static final int KRB_CRED_INFO_KEY_TAG = 0xA0;
     public static final int KRB_CRED_INFO_PREALM_TAG = 0xA1;

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java?rev=1039107&r1=1039106&r2=1039107&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
Thu Nov 25 17:28:14 2010
@@ -52,6 +52,8 @@ public enum KerberosMessageType
     KRB_SAFE( 20, "safe (checksummed) application message" ), 
     KRB_PRIV( 21,  "private (encrypted) application message" ), 
     KRB_CRED( 22, "private (encrypted) message to forward credentials" ),
+    ENC_AS_REP_PART( 25, "encrypted authentication reply part" ),
+    ENC_TGS_REP_PART( 26, "encrypted TGT reply part" ),
     ENC_AP_REP_PART( 27, "encrypted application reply part" ),
     ENC_PRIV_PART( 28, "encrypted private message part" ),
     KRB_ERROR( 30, "error response" );



Mime
View raw message