directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r558303 - /directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java
Date Sat, 21 Jul 2007 11:26:38 GMT
Author: erodriguez
Date: Sat Jul 21 04:26:32 2007
New Revision: 558303

URL: http://svn.apache.org/viewvc?view=rev&rev=558303
Log:
Made body checksum verification configurable (boolean) so it can be turned off during testing.

Modified:
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java?view=diff&rev=558303&r1=558302&r2=558303
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcConfiguration.java
Sat Jul 21 04:26:32 2007
@@ -88,6 +88,9 @@
     /** The default for allowing renewable tickets */
     private static final boolean DEFAULT_TGS_RENEWABLE_ALLOWED = true;
 
+    /** The default for verifying the body checksum */
+    private static final boolean DEFAULT_VERIFY_BODY_CHECKSUM = true;
+
     /** The encryption types. */
     private EncryptionType[] encryptionTypes;
 
@@ -124,6 +127,9 @@
     /** Whether renewable tickets are allowed. */
     private boolean isRenewableAllowed = DEFAULT_TGS_RENEWABLE_ALLOWED;
 
+    /** Whether to verify the body checksum. */
+    private boolean isBodyChecksumVerified = DEFAULT_VERIFY_BODY_CHECKSUM;
+
 
     /**
      * Creates a new instance of KdcConfiguration.
@@ -362,6 +368,24 @@
     public boolean isPaEncTimestampRequired()
     {
         return isPaEncTimestampRequired;
+    }
+
+
+    /**
+     * @return the isBodyChecksumVerified
+     */
+    public boolean isBodyChecksumVerified()
+    {
+        return isBodyChecksumVerified;
+    }
+
+
+    /**
+     * @param isBodyChecksumVerified the isBodyChecksumVerified to set
+     */
+    public void setBodyChecksumVerified( boolean isBodyChecksumVerified )
+    {
+        this.isBodyChecksumVerified = isBodyChecksumVerified;
     }
 
 



Mime
View raw message