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

Raymond Augé closed FELIX-4514.
-------------------------------
    Resolution: Abandoned

This issue has not seen activity for at least2 years. So we're closing it. 

If however, you feel this was done in error or because you think you might wish 
to participate in resolving the issue please don't hesitate to reopen it.

> Add Permissions file in fileinstaller bundle
> --------------------------------------------
>
>                 Key: FELIX-4514
>                 URL: https://issues.apache.org/jira/browse/FELIX-4514
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.2.6
>            Reporter: Xi Zhang
>            Priority: Major
>
> lots of security exception occur on deploying the framework.security bundle 
> together in the container
> {code}
> [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.ops4j.pax.logging)] 
> ERROR org.apache.felix.configadmin - Unexpected problem delivering 
> configuration event to [org.osgi.service.cm.ConfigurationListener, 
> org.apache.felix.fileinstall.ArtifactListener, 
> org.apache.felix.fileinstall.ArtifactInstaller, id=29, 
> bundle=26/file:/osgi/./system/platform/org.apache.felix.fileinstall-3.2.6.jar]
> java.security.AccessControlException: access denied 
> ("java.util.PropertyPermission" "felix.fileinstall.enableConfigSave" "read")
>       at 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
>       at 
> java.security.AccessController.checkPermission(AccessController.java:559)
>       at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>       at 
> org.apache.felix.framework.BundleContextImpl.getProperty(BundleContextImpl.java:102)
>       at 
> org.apache.felix.fileinstall.internal.ConfigInstaller.shouldSaveConfig(ConfigInstaller.java:171)
>       at 
> org.apache.felix.fileinstall.internal.ConfigInstaller.configurationEvent(ConfigInstaller.java:101)
>       at 
> org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:2043)
>       at 
> org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:2013)
>       at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
>       at java.lang.Thread.run(Thread.java:744)
> {code}
> General bundle permissions which are required
> (java.util.PropertyPermission "felix.fileinstall.*" "read")



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to