Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security Manager and Policy files

 
christy smile
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, All,
I would like to know whether it is mandatory to use the security manager and policy file if I choose to use RMI to implement the network connection. I have been having some problem with Security Manager on Linux, and I rememberd someone mentioned that he passed the exam without it. Just would like to clarify on that.
Thank you very much!
Christy
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I passed with a 150/155 and I did not use policy, codebase, classpath, or any enviornmental setup for that matter (and used RMI). I am sure others have done better than that as well. Just be sure to include your stubs in your client
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi christy,
Nate's right in his assessment. The only thing I would add is that the only time you need a SecurityManager is if you are loading stubs dynamically. So if you do what Nate says and make sure that all stubs are locally available there should be no need for a SecurityManager.
Hope this helps,
Michael Morris
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree, no security manager needed.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic