When I try to make a RMI connection with my client application, I get AccessControlException.
Solution for that would be configuring the security policy like that:
java -jar -Djava.security.policy=client.policy runme.jar
The client.policy file:
But the instructions clearly say that: "Your programs must not require use of command line property specifications".
So what are my options?
I have read that security policy is only required when the stubs are not provided, but I have included them - how do I
test that anyway?