aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Security Policy File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Security Policy File" Watch "Security Policy File" New topic

Security Policy File

Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194

Is this part of the code acceptable? Without this line my RMI does not work on different machines

-Sam Codean<br />SCJP 1.4 (98%)<br />SCJD 5.0 (87.5%)
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
no, you're not allowed to require RMI security.

It will work fine without if you set it up correctly.

Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
Thanks!! I got it resolved. But can you tell me one thing. java 5.0 says that you do not need to have stubs created as it dynammically downloads it. Now i do not know if it runs rmic and gets it done etc
but when you export it with

it workds fine but with

it failed
Consider Paul's rocket mass heater.
subject: Security Policy File