commit | 69c0d3e83aead2a4c44732a5f4e61951d55a731e | [log] [tgz] |
---|---|---|
author | Karl Pauls <pauls@apache.org> | Sun Oct 19 20:06:09 2008 +0000 |
committer | Karl Pauls <pauls@apache.org> | Sun Oct 19 20:06:09 2008 +0000 |
tree | 93f44eaa28bbd7d750f6c2f860b310c5ad011981 | |
parent | 028b10fc9fa6bb6896249bb56a8137ce296ec974 [diff] |
Give bundles all permission if no security extension is installed (as per spec). git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@706060 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/Felix.java b/framework/src/main/java/org/apache/felix/framework/Felix.java index 5a76afe..641e2d1 100644 --- a/framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -3315,10 +3315,6 @@ { return m_securityProvider.hasBundlePermission(bundleProtectionDomain, permission, direct); } - else if ((bundleProtectionDomain.getBundle() != this) && (System.getSecurityManager() != null)) - { - return m_secureAction.getPolicy().implies(bundleProtectionDomain, permission); - } return true; }