The JSObject stand-in kept cookies in memory, so saves were lost when the game restarted. Write them to a file the session manager can sync, with the policy granting only the agent jar access to that directory.
10 lines
353 B
Plaintext
10 lines
353 B
Plaintext
grant {
|
|
permission java.net.URLPermission "http:*", "*:*";
|
|
};
|
|
|
|
grant codeBase "file:/opt/flashpoint/applet-support.jar" {
|
|
permission java.util.PropertyPermission "user.home", "read";
|
|
permission java.io.FilePermission "${user.home}${/}saves", "read,write";
|
|
permission java.io.FilePermission "${user.home}${/}saves${/}-", "read,write";
|
|
};
|