Re: SecurityManager

Esmond Pitt FACS <[email protected]> Sat, 20 Dec 2008 10:18:09 +1100
Newsgroups gmane.comp.java.sun.rmi
Organization Melbourne Software Company
Message-ID <20081219231722.LHTM631.nskntotgx02p.mx.bigpond.com@toshibakx1wgjb>
Gregg Wonderly wrote:

> The SecurityManager has to be set due to explicit checks in RMI.

I'm sorry but this is just not correct and it is not supported by any
statement in the RMI Specification or the Javadoc. A Security Manager
doesn't have to be set for RMI unless you are using the codebase feature. As
discussed by Gregg and Niclas, you might well have your own reasons for
requiring one, but absent the codebase feature there is no requirement in
RMI for a security manager. I have many RMI applications which demonstrate
the truth of this assertion.

Esmond Pitt
Author 'java.rmi', http://www.telekinesis.com.au/wipv3_6/java.rmi.A21

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html