summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-11-22 12:55:54 +0000
committerJoachim Lingner <jl@openoffice.org>2001-11-22 12:55:54 +0000
commit3625d23bb01a96d7f3f77053e9395796a7f359e7 (patch)
treef8b415ce031d1acc1a62287b2bd76cd75f0a6a48 /sandbox
parentee7f835d7982f05757f71728803c9f96c1c0bb6a (diff)
#75148# the stardiv.security.disableSecurity property is processed now
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/com/sun/star/lib/sandbox/SandboxSecurity.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/sandbox/com/sun/star/lib/sandbox/SandboxSecurity.java b/sandbox/com/sun/star/lib/sandbox/SandboxSecurity.java
index f04788ca1010..7c11a7d294cc 100644
--- a/sandbox/com/sun/star/lib/sandbox/SandboxSecurity.java
+++ b/sandbox/com/sun/star/lib/sandbox/SandboxSecurity.java
@@ -2,9 +2,9 @@
*
* $RCSfile: SandboxSecurity.java,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:24:28 $
+ * last change: $Author: jl $ $Date: 2001-11-22 13:55:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -134,12 +134,12 @@ public class SandboxSecurity extends SecurityManager //implements SecurityManage
else
networkMode = NETWORK_HOST;
-// bCheckSecurity = !Boolean.getBoolean( "stardiv.security.disableSecurity" );
+ bCheckSecurity = !Boolean.getBoolean( "stardiv.security.disableSecurity" );
// see if security is disabled
- String prop = System.getProperty("Security", "1" );
- bCheckSecurity = true;
- if(prop.equals("0"))
- bCheckSecurity = false;
+// String prop = System.getProperty("Security", "1" );
+// bCheckSecurity = true;
+// if(prop.equals("0"))
+// bCheckSecurity = false;
// see if the system scope is one we know.
IdentityScope scope = IdentityScope.getSystemScope();