summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/tuscany.policy
blob: 1d4b1f07181748a377593bacb673ab04be73246f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// If the URL substitution property fails, use a hard coded Tuscany home
// For example, replace "${{tuscany.home}}" with "/e:/tuscany/java/sca" .
grant codeBase "file:/e:/t/java/sca/-" {
  permission java.security.AllPermission;
};

// If the URL substitution property fails, use a hard coded Maven repos home
// For example, replace "${{m2_repo.home}}" with "/e:/g/m2" .
grant codeBase "file:/e:/g/m2/-" {
  permission java.security.AllPermission;  
};

grant codeBase "file:/e:/temp/eclipse/eclipse/-" {
  // permission java.security.AllPermission;
  permission java.net.SocketPermission "127.0.0.1:*", "connect,resolve";
  permission java.io.FilePermission "<<ALL FILES>>", "read";
  permission java.lang.RuntimePermission "accessDeclaredMembers";  
  permission java.lang.RuntimePermission "getClassLoader";  
  permission java.lang.RuntimePermission "createClassLoader";  
};