Designing RMI Applications
java -Djava.security.manager applicationor in the code with
System.setSecurityManager(new RMISecurityManager());this last is a much better idea for your RMI code.
...jre/lib/security/java.policy
)HOME/.java.policy
) java -Djava.security.policy="java.policy"
grant [signedBy Name] [codebase URL] {...};where Name and URL can be anything.
policytool
provides a gui for editing this file. 48 of 49