CONTENTS | PREV | NEXT Java Remote Method Invocation


5.5 The RMISecurityManager Class

package java.rmi;

public class RMISecurityManager extends java.lang.SecurityManager {
	public RMISecurityManager();
}
The RMISecurityManager provides the same security features as the java.lang.SecurityManager.

In RMI applications, if no security manager has been set, stubs and classes can only be loaded from the local classpath. This ensures that the application is protected from code that is downloaded as a result of remote method invocations.



CONTENTS | PREV | NEXT
Copyright © 1997-1999 Sun Microsystems, Inc. All Rights Reserved.