-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava.policy.default
More file actions
27 lines (22 loc) · 1.02 KB
/
java.policy.default
File metadata and controls
27 lines (22 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
grant {
permission java.net.SocketPermission "*:1099",
"connect, accept, resolve";
// This allows RMI clients to contact the RMIRegistry of any host
permission java.net.SocketPermission "*:1024-65535",
"connect, accept, resolve";
// This allows RMI clients to make network connections to the public
// ports on any host
// If you start the RMIregistry on a port in this range, this will help
// to get around the resolve access violation.
permission java.net.SocketPermission "localhost:1099",
"connect, resolve";
permission java.net.SocketPermission "129.65.242.5:1024-",
"connect, accept";
// For some reason it is necessary for some people to have the above
// statements to explicitly allow connection to/from falcon.
permission java.net.SocketPermission "*:80",
"connect";
// This allows connection to the default web server on any host -
// needed for stub downloading, among other things.
permission java.io.FilePermission "##CURRENT_WORKING_DIRECTORY##/-", "read,write,execute";
};