< prev index next >

test/jdk/javax/management/security/SecurityTest.java

Print this page
rev 51638 : [mq]: 8210112

*** 26,35 **** --- 26,36 ---- * @bug 8058865 * @summary Checks various secure ways of connecting from remote jmx client * @author Olivier Lagneau * @modules java.management.rmi * @library /lib/testlibrary + * @library /test/lib * @compile MBS_Light.java ServerDelegate.java TestSampleLoginModule.java * @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=SQE_username -Dpassword=SQE_password SecurityTest -server -mapType x.password.file -client -mapType credentials * @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=UNKNOWN_username -Dpassword=SQE_password SecurityTest -server -mapType x.password.file -client -mapType credentials -expectedThrowable java.lang.SecurityException * @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=SQE_username -Dpassword=WRONG_password SecurityTest -server -mapType x.password.file -client -mapType credentials -expectedThrowable java.lang.SecurityException * @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dsusername=TestJMXAuthenticatorUsername -Dspassword=TestJMXAuthenticatorPassword -Dusername=TestJMXAuthenticatorUsername -Dpassword=TestJMXAuthenticatorPassword SecurityTest -server -mapType x.authenticator -client -mapType credentials
*** 78,88 **** import javax.rmi.ssl.SslRMIClientSocketFactory; import javax.rmi.ssl.SslRMIServerSocketFactory; import java.security.Security; ! import jdk.testlibrary.ProcessTools; import jdk.testlibrary.JDKToolFinder; public class SecurityTest { static final String SERVER_CLASS_NAME = "SecurityTest"; --- 79,89 ---- import javax.rmi.ssl.SslRMIClientSocketFactory; import javax.rmi.ssl.SslRMIServerSocketFactory; import java.security.Security; ! import jdk.test.lib.process.ProcessTools; import jdk.testlibrary.JDKToolFinder; public class SecurityTest { static final String SERVER_CLASS_NAME = "SecurityTest";
< prev index next >