aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2000-11-21 03:49:08 +0000
committerSven Gothel <[email protected]>2000-11-21 03:49:08 +0000
commit5796ef3b780f5465f2b55f70ef8da1b44179597e (patch)
tree05b7f126d56dab2bd47531e4372b1e39facd9e64 /demos
parent875ba91c7213f8ed664ac4b8101c40188cf8701a (diff)
update of the policy file
Diffstat (limited to 'demos')
-rw-r--r--demos/RonsDemos/gl4java.policy123
-rw-r--r--demos/gl4java.policy156
-rw-r--r--demos/java.policy56
3 files changed, 192 insertions, 143 deletions
diff --git a/demos/RonsDemos/gl4java.policy b/demos/RonsDemos/gl4java.policy
index 6ea44cc..7c7ee41 100644
--- a/demos/RonsDemos/gl4java.policy
+++ b/demos/RonsDemos/gl4java.policy
@@ -1,27 +1,96 @@
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/-"
-{
- permission java.security.RuntimePermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/RonsDemos/-"
-{
- permission java.security.RuntimePermission;
-};
-
-grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/RonsDemos/-" {
- permission java.security.RuntimePermission;
-};
-
-grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/-" {
- permission java.security.RuntimePermission;
-};
-
-grant codeBase "file://f/java-1.1.X/GL4Java/demos/-" {
- permission java.security.AllPermission;
-};
-
-grant codeBase "file://f/java-1.1.X/GL4Java/demos/RonsDemos/-" {
- permission java.security.AllPermission;
-};
-
+//
+// GL4Java extensions get all permissions !
+//
+// This config-piece should be added on top of the file:
+//
+// If a Java2 SDK is used:
+// <java2-installation>/jre/lib/security/java.policy
+//
+// If a Java2 JRE is used:
+// <jre-installation>/lib/security/java.policy
+//
+// The GL4Java Homepage:
+//
+// http://www.jausoft.com/gl4java/
+//
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/Installer/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/Installer/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/psi/*"
+{
+ permission java.security.AllPermission;
+};
+
diff --git a/demos/gl4java.policy b/demos/gl4java.policy
index 0db24dc..7c7ee41 100644
--- a/demos/gl4java.policy
+++ b/demos/gl4java.policy
@@ -1,60 +1,96 @@
-//
-// GL4Java extensions get all permissions !
-//
-// This peace should be added on top of the file:
-//
-// If a Java2 SDK is used:
-// <java2-installation>/jre/lib/security/java.policy
-//
-// If a Java2 JRE is used:
-// <jre-installation>/lib/security/java.policy
-//
-// GL4Java Homepage:
-//
-// http://www.jausoft.com/gl4java/
-//
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/Installer/*"
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/*"
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*
-{
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*
-{
- permission java.security.AllPermission;
-};
-
-
-grant codeBase "file:/home/sven/projects/java/GL4Java/demos/- {
- permission java.security.AllPermission;
-};
-
-grant codeBase "file:/home/sven/projects/java/GL4Java/demos/RonsDemos/- {
- permission java.security.AllPermission;
-};
-
+//
+// GL4Java extensions get all permissions !
+//
+// This config-piece should be added on top of the file:
+//
+// If a Java2 SDK is used:
+// <java2-installation>/jre/lib/security/java.policy
+//
+// If a Java2 JRE is used:
+// <jre-installation>/lib/security/java.policy
+//
+// The GL4Java Homepage:
+//
+// http://www.jausoft.com/gl4java/
+//
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/Installer/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/Installer/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/*"
+{
+ permission java.security.AllPermission;
+};
+
+grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/psi/*"
+{
+ permission java.security.AllPermission;
+};
+
diff --git a/demos/java.policy b/demos/java.policy
deleted file mode 100644
index 1115932..0000000
--- a/demos/java.policy
+++ /dev/null
@@ -1,56 +0,0 @@
-
-// Standard extensions get all permissions by default
-
-grant codeBase "file:${java.home}/lib/ext/-" {
- permission java.security.AllPermission;
-};
-
-grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/* {
- permission java.security.AllPermission;
-};
-
-grant codeBase "file://f/java-1.1.X/GL4Java/demos/* {
- permission java.security.AllPermission;
-};
-
-// default permissions granted to all domains
-
-grant {
- // Allows any thread to stop itself using the java.lang.Thread.stop()
- // method that takes no argument.
- // Note that this permission is granted by default only to remain
- // backwards compatible.
- // It is strongly recommended that you either remove this permission
- // from this policy file or further restrict it to code sources
- // that you specify, because Thread.stop() is potentially unsafe.
- // See "http://java.sun.com/notes" for more information.
- permission java.lang.RuntimePermission "stopThread";
-
- // allows anyone to listen on un-privileged ports
- permission java.net.SocketPermission "localhost:1024-", "listen";
-
- // "standard" properies that can be read by anyone
-
- permission java.util.PropertyPermission "java.version", "read";
- permission java.util.PropertyPermission "java.vendor", "read";
- permission java.util.PropertyPermission "java.vendor.url", "read";
- permission java.util.PropertyPermission "java.class.version", "read";
- permission java.util.PropertyPermission "os.name", "read";
- permission java.util.PropertyPermission "os.version", "read";
- permission java.util.PropertyPermission "os.arch", "read";
- permission java.util.PropertyPermission "file.separator", "read";
- permission java.util.PropertyPermission "path.separator", "read";
- permission java.util.PropertyPermission "line.separator", "read";
-
- permission java.util.PropertyPermission "java.specification.version", "read";
- permission java.util.PropertyPermission "java.specification.vendor", "read";
- permission java.util.PropertyPermission "java.specification.name", "read";
-
- permission java.util.PropertyPermission "java.vm.specification.version", "read";
- permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
- permission java.util.PropertyPermission "java.vm.specification.name", "read";
- permission java.util.PropertyPermission "java.vm.version", "read";
- permission java.util.PropertyPermission "java.vm.vendor", "read";
- permission java.util.PropertyPermission "java.vm.name", "read";
-};
-