CONTENTS | PREV | NEXT | Java Remote Method Invocation |
RMISecurityManager
Class
package java.rmi; public class RMISecurityManager extends java.lang.SecurityManager { public RMISecurityManager(); }
TheRMISecurityManager
provides the same security features as thejava.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.