The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Security Manager and Policy files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Security Manager and Policy files" Watch "Security Manager and Policy files" New topic

Security Manager and Policy files

christy smile
Ranch Hand

Joined: Oct 15, 2001
Posts: 101
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!
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
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

scwcd, scjd, scjp<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
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

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I agree, no security manager needed.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Security Manager and Policy files
It's not a secret anymore!