felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3950) Permission check being done even when security manager is absent
Date Tue, 05 Mar 2013 14:09:12 GMT

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

Richard S. Hall updated FELIX-3950:
-----------------------------------

    Fix Version/s:     (was: framework-4.4.0)
                   framework-4.2.1
    
> 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

Mime
View raw message