directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1036800 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos: KerberosConstants.java messages/KrbError.java
Date Fri, 19 Nov 2010 10:50:44 GMT
Author: kayyagari
Date: Fri Nov 19 10:50:44 2010
New Revision: 1036800

URL: http://svn.apache.org/viewvc?rev=1036800&view=rev
Log:
o added KRB-ERROR application tag

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/messages/KrbError.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=1036800&r1=1036799&r2=1036800&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
Fri Nov 19 10:50:44 2010
@@ -106,7 +106,8 @@ public class KerberosConstants
     /** TGS-REP's tags */
     public static final int TGS_REP_TAG = 0x6D;
     
-    /** KRB_ERROR's tags */
+    /** KRB-ERROR tags */
+    public static final int KRB_ERR_TAG = 0x7E;
     public static final int KRB_ERR_PVNO_TAG = 0xA0;
     public static final int KRB_ERR_MSGTYPE_TAG = 0xA1;
     public static final int KRB_ERR_CTIME_TAG = 0xA2;

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java?rev=1036800&r1=1036799&r2=1036800&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
Fri Nov 19 10:50:44 2010
@@ -535,7 +535,7 @@ public class KrbError extends KerberosMe
         try
         {
             // The KRB-ERROR APPLICATION tag
-            buffer.put( (byte)0x7E );
+            buffer.put( ( byte ) KerberosConstants.KRB_ERR_TAG );
             buffer.put( TLV.getBytes( krbErrorLength ) );
 
             // The KRB_ERROR sequence



Mime
View raw message