Search code examples
javarmi

RMI Security Manager


I'm currently planning a presentation about RMI and found that the "RMISecurityManager" is deprecated. But when I search for a different way to apply a policy file i can't find one. So I'm asking for a way to do this, or if it's even needed anymore.

Thank you for your help.


Solution

  • It is well explained in the javadoc :

    RMI applications should use the SecurityManager class or another appropriate SecurityManager implementation instead of this class

    Anyway, the RMISecurityManager class was just an empty shell.