This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMISecurityManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMISecurityManager" Watch "RMISecurityManager" New topic


Saibaskar Parthasarathy

Joined: Dec 14, 2000
Posts: 5
When ever i create an instance of RMISecurityManager i recieve a compilation error, in most of the RMI examples i've seen this being used but when i use it in my program it gives me an error.. so why this object is being used and how to use it? can anybody could help me out?
asad ali

Joined: Dec 12, 2000
Posts: 20
The way to install RMISecurityManager in your application is
System.setSecurityManager(new RMISecurityManager());
I agree. Here's the link:
subject: RMISecurityManager
Similar Threads
Security manager and local connection
Policy file and RMISecurityManager
policy file problems
NX:URLyBird Limitation on RMI
FilePermissionException on UNIX