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

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

     [ https://issues.apache.org/jira/browse/FELIX-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls resolved FELIX-3950.
-------------------------------

    Resolution: Fixed

Done.
                
> 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.2.1
>
>
>  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