equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 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 7110803 8170732 |
26 * @bug 7110803 8170732 8194486 |
27 * @summary SASL service for multiple hostnames |
27 * @summary SASL service for multiple hostnames |
|
28 * @library /test/lib |
28 * @compile -XDignore.symbol.file SaslBasic.java |
29 * @compile -XDignore.symbol.file SaslBasic.java |
29 * @run main/othervm SaslBasic bound auth-int |
30 * @run main jdk.test.lib.FileInstaller TestHosts TestHosts |
30 * @run main/othervm SaslBasic unbound auth-conf |
31 * @run main/othervm -Djdk.net.hosts.file=TestHosts SaslBasic bound auth-int |
31 * @run main/othervm SaslBasic bound auth |
32 * @run main/othervm -Djdk.net.hosts.file=TestHosts SaslBasic unbound auth-conf |
|
33 * @run main/othervm -Djdk.net.hosts.file=TestHosts SaslBasic bound auth |
32 */ |
34 */ |
33 import java.io.IOException; |
35 import java.io.IOException; |
34 import java.util.Arrays; |
36 import java.util.Arrays; |
35 import java.util.HashMap; |
37 import java.util.HashMap; |
36 import javax.security.auth.callback.Callback; |
38 import javax.security.auth.callback.Callback; |