Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMISecurityManager

 
Saibaskar Parthasarathy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Regards
saibaskar
 
asad ali
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way to install RMISecurityManager in your application is
System.setSecurityManager(new RMISecurityManager());
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic