It's not a secret anymore!
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes is this security ok? 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 "is this security ok?" Watch "is this security ok?" New topic

is this security ok?

Takeshi Toyohara

Joined: Feb 03, 2002
Posts: 21
Hello all,
I looked through the archives and I didnt see a solid answer to this, so I just wanted to double-check. Do you guys think this is the correct way/enough of a security implementation for RMI?

this is in my server startup class

and my policy file as:

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I'd just set the SecurityManager without the check for null.
Policy file - I just added one line to give all permissions. That was fine.
I think what you have in yours is fine too.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: is this security ok?
It's not a secret anymore!