test/jdk/sun/security/krb5/auto/SSL.java
changeset 48668 2da4a52715d8
parent 47216 71c04702a3d5
equal deleted inserted replaced
48667:f2344724a475 48668:2da4a52715d8
     1 /*
     1 /*
     2  * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6894643 6913636 8005523 8025123
    26  * @bug 6894643 6913636 8005523 8025123 8194486
    27  * @summary Test JSSE Kerberos ciphersuite
    27  * @summary Test JSSE Kerberos ciphersuite
    28  * @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA
    28  * @library /test/lib
    29  * @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA unbound
    29  * @run main jdk.test.lib.FileInstaller TestHosts TestHosts
    30  * @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA unbound sni
    30  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
    31  * @run main/othervm SSL TLS_KRB5_WITH_3DES_EDE_CBC_SHA
    31  *      TLS_KRB5_WITH_RC4_128_SHA
    32  * @run main/othervm SSL TLS_KRB5_WITH_3DES_EDE_CBC_MD5
    32  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
    33  * @run main/othervm SSL TLS_KRB5_WITH_DES_CBC_SHA
    33  *      TLS_KRB5_WITH_RC4_128_SHA unbound
    34  * @run main/othervm SSL TLS_KRB5_WITH_DES_CBC_MD5
    34  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
    35  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_RC4_40_SHA
    35  *      TLS_KRB5_WITH_RC4_128_SHA unbound sni
    36  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_RC4_40_MD5
    36  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
    37  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
    37  *      TLS_KRB5_WITH_3DES_EDE_CBC_SHA
    38  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
    38  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    39  *      TLS_KRB5_WITH_3DES_EDE_CBC_MD5
       
    40  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    41  *      TLS_KRB5_WITH_DES_CBC_SHA
       
    42  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    43  *      TLS_KRB5_WITH_DES_CBC_MD5
       
    44  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    45  *      TLS_KRB5_EXPORT_WITH_RC4_40_SHA
       
    46  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    47  *      TLS_KRB5_EXPORT_WITH_RC4_40_MD5
       
    48  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    49  *      TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
       
    50  * @run main/othervm -Djdk.net.hosts.file=TestHosts SSL
       
    51  *      TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
    39  */
    52  */
    40 import java.io.*;
    53 import java.io.*;
    41 import java.security.Permission;
    54 import java.security.Permission;
    42 import javax.net.ssl.*;
    55 import javax.net.ssl.*;
    43 import java.security.Principal;
    56 import java.security.Principal;