directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1150871 - /directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java
Date Mon, 25 Jul 2011 20:01:33 GMT
Author: seelmann
Date: Mon Jul 25 20:01:32 2011
New Revision: 1150871

URL: http://svn.apache.org/viewvc?rev=1150871&view=rev
Log:
Added another test. Removed debug output.

Modified:
    directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java

Modified: directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java?rev=1150871&r1=1150870&r2=1150871&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java
(original)
+++ directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTcpITest.java
Mon Jul 25 20:01:32 2011
@@ -33,6 +33,7 @@ import org.apache.directory.server.core.
 import org.apache.directory.shared.kerberos.codec.types.EncryptionType;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -78,7 +79,7 @@ public class KerberosTcpITest extends Ab
     @BeforeClass
     public static void setUdpPrefLimit() throws Exception
     {
-        System.setProperty( "sun.security.krb5.debug", "true" );
+        // System.setProperty( "sun.security.krb5.debug", "true" );
 
         // Save current value of sun.security.krb5.KrbKdcReq.udpPrefLimit field.
         // Then set it to 1 to force TCP.
@@ -134,6 +135,23 @@ public class KerberosTcpITest extends Ab
 
 
     @Test
+    public void testObtainTickets_DES3_CBC_SHA1_KD() throws Exception
+    {
+        setupEnv( EncryptionType.DES3_CBC_SHA1_KD );
+        testObtainTickets( EncryptionType.DES3_CBC_SHA1_KD );
+    }
+
+
+    @Test
+    @Ignore("Fails with KrbException: Integrity check on decrypted field failed (31) - Integrity
check on decrypted field failed")
+    public void testObtainTickets_RC4_HMAC() throws Exception
+    {
+        setupEnv( EncryptionType.RC4_HMAC );
+        testObtainTickets( EncryptionType.RC4_HMAC );
+    }
+
+
+    @Test
     public void testObtainTickets_AES128() throws Exception
     {
         setupEnv( EncryptionType.AES128_CTS_HMAC_SHA1_96 );



Mime
View raw message