summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data
diff options
context:
space:
mode:
Diffstat (limited to 'site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data')
-rw-r--r--site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.pngbin0 -> 32000 bytes
-rw-r--r--site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png.jpegbin0 -> 8041 bytes
-rw-r--r--site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/tuscany.policy20
3 files changed, 20 insertions, 0 deletions
diff --git a/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png
new file mode 100644
index 0000000000..1205f49abb
--- /dev/null
+++ b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png
Binary files differ
diff --git a/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png.jpeg b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png.jpeg
new file mode 100644
index 0000000000..ab77111fcf
--- /dev/null
+++ b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/EclipseAppConfig.png.jpeg
Binary files differ
diff --git a/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/tuscany.policy b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/tuscany.policy
new file mode 100644
index 0000000000..1d4b1f0718
--- /dev/null
+++ b/site/trunk/site-publish/running-tuscany-with-java-2-security-enabled.data/tuscany.policy
@@ -0,0 +1,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";
+}; \ No newline at end of file