Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is this security ok?

 
Takeshi Toyohara
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic