TLSEnginesClosureTest.java revision 16177:89ef4b822745
13296Sksrini/* 23296Sksrini * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 33296Sksrini * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 43296Sksrini * 53296Sksrini * This code is free software; you can redistribute it and/or modify it 63296Sksrini * under the terms of the GNU General Public License version 2 only, as 73296Sksrini * published by the Free Software Foundation. 83296Sksrini * 93296Sksrini * This code is distributed in the hope that it will be useful, but WITHOUT 103296Sksrini * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 113296Sksrini * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 123296Sksrini * version 2 for more details (a copy is included in the LICENSE file that 133296Sksrini * accompanied this code). 143296Sksrini * 153296Sksrini * You should have received a copy of the GNU General Public License version 163296Sksrini * 2 along with this work; if not, write to the Free Software Foundation, 173296Sksrini * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 183296Sksrini * 193296Sksrini * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 203296Sksrini * or visit www.oracle.com if you need additional information or have any 213296Sksrini * questions. 223296Sksrini */ 233296Sksrini 243296Sksrini/* 253296Sksrini * @test 263296Sksrini * @bug 8085979 273296Sksrini * @summary Testing TLS engines closing using each of the supported 28 * cipher suites. 29 * @library /sun/security/krb5/auto /javax/net/ssl/TLSCommon 30 * @modules java.security.jgss 31 * jdk.security.auth 32 * java.security.jgss/sun.security.krb5:+open 33 * java.security.jgss/sun.security.krb5.internal:+open 34 * java.security.jgss/sun.security.krb5.internal.ccache 35 * java.security.jgss/sun.security.krb5.internal.crypto 36 * java.security.jgss/sun.security.krb5.internal.ktab 37 * java.base/sun.security.util 38 * @run main/othervm -Dtest.security.protocol=TLSv1 -Dtest.mode=norm TLSEnginesClosureTest 39 * @run main/othervm -Dtest.security.protocol=TLSv1 -Dtest.mode=norm_sni TLSEnginesClosureTest 40 * @run main/othervm -Dtest.security.protocol=TLSv1 -Dtest.mode=krb TLSEnginesClosureTest 41 */ 42 43/** 44 * Testing TLS engines closing using each of the supported cipher suites. 45 */ 46public class TLSEnginesClosureTest { 47 public static void main(String[] args) { 48 EnginesClosureTest.main(args); 49 } 50} 51