jdk/test/javax/management/remote/mandatory/subjectDelegation/SubjectDelegation1Test.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2015, 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. |
25 * @test |
25 * @test |
26 * @bug 6261831 |
26 * @bug 6261831 |
27 * @summary Tests the use of the subject delegation feature in the |
27 * @summary Tests the use of the subject delegation feature in the |
28 * RMI connector |
28 * RMI connector |
29 * @author Luis-Miguel Alventosa |
29 * @author Luis-Miguel Alventosa |
|
30 * @modules java.management/com.sun.jmx.remote.security |
30 * @run clean SubjectDelegation1Test SimpleStandard SimpleStandardMBean |
31 * @run clean SubjectDelegation1Test SimpleStandard SimpleStandardMBean |
31 * @run build SubjectDelegation1Test SimpleStandard SimpleStandardMBean |
32 * @run build SubjectDelegation1Test SimpleStandard SimpleStandardMBean |
32 * @run main SubjectDelegation1Test policy11 ok |
33 * @run main SubjectDelegation1Test policy11 ok |
33 * @run main SubjectDelegation1Test policy12 ko |
34 * @run main SubjectDelegation1Test policy12 ko |
34 * @run main SubjectDelegation1Test policy13 ko |
35 * @run main SubjectDelegation1Test policy13 ko |