| Author |
rmi security problem : policy file
|
Michael Tu
Greenhorn
Joined: Oct 14, 2002
Posts: 29
|
|
Have to bring myself here as the problem makes me crazy I created a security manager in my RMI server simply use:
Also, I have a fbn.policy file like:
then I start my RMI server by specifying -Djava.security.policy=c:\...\fbn.policy. The server runs OK. Now, my client side also has a line of:
I run my client in the same PC with -Djava.security.policy=c:\...\fbn.policy. It doesn't work! Connection error comes out. If I do not implement SecurityManager, everything is fine. What's the hell for this? Can anyone advise? Thanks. Michael
|
 |
John Smith
Ranch Hand
Joined: Oct 08, 2001
Posts: 2937
|
|
I run my client in the same PC with -Djava.security.policy=c:\...\fbn.policy. It doesn't work! Connection error comes out. If I do not implement SecurityManager, everything is fine. What's the hell for this? Can anyone advise? Thanks.
The consensus in this group is that you should not use policy files, security managers, codebase or classpath settings, or dynamic downloading. These are the "extra features" that do not add much to your design, but they complicate things greatly for you and your accessor. Eugene.
|
 |
 |
|
|
subject: rmi security problem : policy file
|
|
|