jdk/test/sun/security/krb5/auto/SSL.java
changeset 8396 587947f96036
parent 7172 01308fd663b3
child 9499 f3115698a012
equal deleted inserted replaced
8395:29afb3ec47e2 8396:587947f96036
     1 /*
     1 /*
     2  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 2011, 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.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6894643 6913636
    26  * @bug 6894643 6913636
    27  * @summary Test JSSE Kerberos ciphersuite
    27  * @summary Test JSSE Kerberos ciphersuite
    28  * @run main SSL TLS_KRB5_WITH_RC4_128_SHA
    28  * @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA
    29  * @run main SSL TLS_KRB5_WITH_RC4_128_MD5
    29  * @run main/othervm SSL TLS_KRB5_WITH_RC4_128_MD5
    30  * @run main SSL TLS_KRB5_WITH_3DES_EDE_CBC_SHA
    30  * @run main/othervm SSL TLS_KRB5_WITH_3DES_EDE_CBC_SHA
    31  * @run main SSL TLS_KRB5_WITH_3DES_EDE_CBC_MD5
    31  * @run main/othervm SSL TLS_KRB5_WITH_3DES_EDE_CBC_MD5
    32  * @run main SSL TLS_KRB5_WITH_DES_CBC_SHA
    32  * @run main/othervm SSL TLS_KRB5_WITH_DES_CBC_SHA
    33  * @run main SSL TLS_KRB5_WITH_DES_CBC_MD5
    33  * @run main/othervm SSL TLS_KRB5_WITH_DES_CBC_MD5
    34  * @run main SSL TLS_KRB5_EXPORT_WITH_RC4_40_SHA
    34  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_RC4_40_SHA
    35  * @run main SSL TLS_KRB5_EXPORT_WITH_RC4_40_MD5
    35  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_RC4_40_MD5
    36  * @run main SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
    36  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
    37  * @run main SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
    37  * @run main/othervm SSL TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
    38  */
    38  */
    39 import java.io.*;
    39 import java.io.*;
    40 import java.net.InetAddress;
    40 import java.net.InetAddress;
    41 import javax.net.ssl.*;
    41 import javax.net.ssl.*;
    42 import java.security.Principal;
    42 import java.security.Principal;