Hi All I'm trying to learm RMI,so how to access or set up or change or edit your application persmissions?because I have an exception when i run the server class that creates the remote objects and register them,it says access denied,so i need to know how to set up the permissions for that app. Thanks for your time.
It's all done with policy files. Alas, there's surprisingly little information at http://java.sun.com that's easy to find on writing policy files. I looked around for a few minutes, and came up empty handed. But play around a little with policytool, a binary that comes bundled with the JDK. You'll at least see what access permissions are understood by the JVM that way.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
Some of the security documentation is indeed surprisingly scattered -- I had to it from quite a few places when I was writing the security chapter for BJN (and the editor subsequently tried to cut my tables ). Assuming you have installed the JDK documentation, you can find