• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Security Manager and POlicy file

 
Rachna Chaturvedi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
what is the difference between the Security Manager and POlicy file, ???
Is there a relation between the two , i.e when we specify the Secirity MAnager, does it use the policy file . please explain this , as i am stuck :roll:
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you have a security manager, Permissions need to be granted to the users. THe policy file grants these Permissions. You can also give Permissions in code, but policy files are more flexible, as each user can have their own.
Now in the case of the assignment, we have found it easier to not include the RMISecurityManager and policy files. Since our implementation of RMI does not use Dynamic Downloading of stubs.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic