Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMISecurityManager  RSS feed

 
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());
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!