directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: rev 56465 - incubator/directory/kerberos/trunk/source/main/org/apache/kerberos/messages
Date Wed, 03 Nov 2004 03:47:05 GMT
Author: erodriguez
Date: Tue Nov  2 19:47:05 2004
New Revision: 56465

Modified:
   incubator/directory/kerberos/trunk/source/main/org/apache/kerberos/messages/MessageType.java
Log:
Added new types for application (AP) messages.

Modified: incubator/directory/kerberos/trunk/source/main/org/apache/kerberos/messages/MessageType.java
==============================================================================
--- incubator/directory/kerberos/trunk/source/main/org/apache/kerberos/messages/MessageType.java
(original)
+++ incubator/directory/kerberos/trunk/source/main/org/apache/kerberos/messages/MessageType.java
Tue Nov  2 19:47:05 2004
@@ -24,17 +24,19 @@
 	 * Enumeration elements are constructed once upon class loading.
 	 * Order of appearance here determines the order of compareTo.
 	 */
-	public static final MessageType NULL        = new MessageType(0,  "null");
-	public static final MessageType KRB_AS_REQ  = new MessageType(10, "initial authentication
request");
-	public static final MessageType KRB_AS_REP  = new MessageType(11, "initial authentication
response");
-	public static final MessageType KRB_TGS_REQ = new MessageType(12, "request for authentication
based on TGT");
-	public static final MessageType KRB_TGS_REP = new MessageType(13, "response to authentication
based on TGT");
-	public static final MessageType KRB_AP_REQ  = new MessageType(14, "application request");
-	public static final MessageType KRB_AP_REP  = new MessageType(15, "application response");
-	public static final MessageType KRB_SAFE    = new MessageType(20, "safe (checksummed) application
message");
-	public static final MessageType KRB_PRIV    = new MessageType(21, "private (encrypted) application
message");
-	public static final MessageType KRB_CRED    = new MessageType(22, "private (encrypted) message
to forward credentials");
-	public static final MessageType KRB_ERROR   = new MessageType(30, "error response");
+	public static final MessageType NULL            = new MessageType(0,  "null");
+	public static final MessageType KRB_AS_REQ      = new MessageType(10, "initial authentication
request");
+	public static final MessageType KRB_AS_REP      = new MessageType(11, "initial authentication
response");
+	public static final MessageType KRB_TGS_REQ     = new MessageType(12, "request for authentication
based on TGT");
+	public static final MessageType KRB_TGS_REP     = new MessageType(13, "response to authentication
based on TGT");
+	public static final MessageType KRB_AP_REQ      = new MessageType(14, "application request");
+	public static final MessageType KRB_AP_REP      = new MessageType(15, "application response");
+	public static final MessageType KRB_SAFE        = new MessageType(20, "safe (checksummed)
application message");
+	public static final MessageType KRB_PRIV        = new MessageType(21, "private (encrypted)
application message");
+	public static final MessageType KRB_CRED        = new MessageType(22, "private (encrypted)
message to forward credentials");
+	public static final MessageType ENC_AP_REP_PART = new MessageType(27, "encrypted application
reply part");
+	public static final MessageType ENC_PRIV_PART   = new MessageType(28, "encrypted private
message part");
+	public static final MessageType KRB_ERROR       = new MessageType(30, "error response");
 
 	public String toString() {
 		return _fName + " (" + _fOrdinal + ")";
@@ -71,7 +73,8 @@
 	 * These two lines are all that's necessary to export a List of VALUES.
 	 */
 	private static final MessageType[] fValues = {NULL, KRB_AS_REQ, KRB_AS_REP, KRB_TGS_REQ,
-			KRB_TGS_REP, KRB_AP_REQ, KRB_AP_REP, KRB_SAFE, KRB_PRIV, KRB_CRED, KRB_ERROR};
+			KRB_TGS_REP, KRB_AP_REQ, KRB_AP_REP, KRB_SAFE, KRB_PRIV, KRB_CRED,
+			ENC_AP_REP_PART, ENC_PRIV_PART, KRB_ERROR};
 	// VALUES needs to be located here, otherwise illegal forward reference
 	public static final List VALUES = Collections.unmodifiableList(Arrays.asList(fValues));
 

Mime
View raw message