You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2013/03/05 08:35:12 UTC

[jira] [Created] (FELIX-3950) Permission check being done even when security manager is absent

Sahoo created FELIX-3950:
----------------------------

             Summary: Permission check being done even when security manager is absent
                 Key: FELIX-3950
                 URL: https://issues.apache.org/jira/browse/FELIX-3950
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-4.2.0
            Reporter: Sahoo
            Assignee: Karl Pauls
            Priority: Critical
             Fix For: framework-4.4.0


 I found this code in org/apache/felix/framework/ExtensionManager.java:

        if (!((BundleProtectionDomain) bundle.getProtectionDomain()).impliesDirect(new AllPermission()))
        {
            throw new SecurityException("Extension Bundles must have AllPermission");
        }

It's not a problem now, but it can be a problem in some circumastances. I think this check should be done only when sm is present. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira