directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1640571 - /directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosUdpITest.java
Date Wed, 19 Nov 2014 15:14:14 GMT
Author: elecharny
Date: Wed Nov 19 15:14:14 2014
New Revision: 1640571

URL: http://svn.apache.org/r1640571
Log:
Fixed a potentila issue on Java 8

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

Modified: directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosUdpITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosUdpITest.java?rev=1640571&r1=1640570&r2=1640571&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosUdpITest.java
(original)
+++ directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosUdpITest.java
Wed Nov 19 15:14:14 2014
@@ -82,6 +82,12 @@ public class KerberosUdpITest extends Ab
     @Test
     public void testObtainTickets_DES_CBC_MD5() throws Exception
     {
+        if ( System.getProperty( "java.version" ).startsWith( "1.8" ) )
+        {
+            // Java 8 does not support anymore dec-cbc-md5
+            return;
+        }
+
         // TODO: RFC3961, Section 6.2.1: des-cbc-md5 + rsa-md5-des
         ObtainTicketParameters parameters = new ObtainTicketParameters( UdpTransport.class,
             EncryptionType.DES_CBC_MD5, ChecksumType.RSA_MD5 );



Mime
View raw message