equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
29 |
29 |
30 import javax.security.auth.login.LoginException; |
30 import javax.security.auth.login.LoginException; |
31 |
31 |
32 /* |
32 /* |
33 * @test |
33 * @test |
34 * @bug 8025123 |
34 * @bug 8025123 8194486 |
35 * @summary Checks if an unbound server pick up a correct key from keytab |
35 * @summary Checks if an unbound server pick up a correct key from keytab |
36 * @run main/othervm UnboundSSLMultipleKeys |
36 * @library /test/lib |
|
37 * @run main jdk.test.lib.FileInstaller TestHosts TestHosts |
|
38 * @run main/othervm -Djdk.net.hosts.file=TestHosts UnboundSSLMultipleKeys |
37 * unbound.ssl.jaas.conf server_star |
39 * unbound.ssl.jaas.conf server_star |
38 * @run main/othervm UnboundSSLMultipleKeys |
40 * @run main/othervm -Djdk.net.hosts.file=TestHosts UnboundSSLMultipleKeys |
39 * unbound.ssl.jaas.conf server_multiple_principals |
41 * unbound.ssl.jaas.conf server_multiple_principals |
40 */ |
42 */ |
41 public class UnboundSSLMultipleKeys { |
43 public class UnboundSSLMultipleKeys { |
42 |
44 |
43 public static void main(String[] args) |
45 public static void main(String[] args) |