jdk/test/javax/security/auth/login/modules/JaasModularClientTest.java
changeset 45393 de4e1efc8eec
parent 40261 86a49ba76f52
child 46898 4d2a6afafb76
equal deleted inserted replaced
45392:fe2cb56e7fe9 45393:de4e1efc8eec
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, 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.
    30 import java.io.IOException;
    30 import java.io.IOException;
    31 import java.lang.module.ModuleDescriptor;
    31 import java.lang.module.ModuleDescriptor;
    32 import java.util.ArrayList;
    32 import java.util.ArrayList;
    33 import jdk.testlibrary.ProcessTools;
    33 import jdk.testlibrary.ProcessTools;
    34 import jdk.testlibrary.OutputAnalyzer;
    34 import jdk.testlibrary.OutputAnalyzer;
       
    35 import jdk.test.lib.compiler.CompilerUtils;
    35 import org.testng.annotations.BeforeTest;
    36 import org.testng.annotations.BeforeTest;
    36 
    37 
    37 /**
    38 /**
    38  * @test
    39  * @test
    39  * @bug 8078813
    40  * @bug 8078813
    40  * @library /lib/testlibrary
    41  * @library /lib/testlibrary /test/lib
    41  * @library /java/security/modules
    42  * @library /java/security/modules
    42  * @build CompilerUtils JarUtils
    43  * @build jdk.test.lib.compiler.CompilerUtils JarUtils
    43  * @summary Test custom JAAS module with all possible modular option. The test
    44  * @summary Test custom JAAS module with all possible modular option. The test
    44  *          includes different combination of JAAS client/login modules
    45  *          includes different combination of JAAS client/login modules
    45  *          interaction with or without service description.
    46  *          interaction with or without service description.
    46  * @run testng JaasModularClientTest
    47  * @run testng JaasModularClientTest
    47  */
    48  */