You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Xi Zhang (JIRA)" <ji...@apache.org> on 2014/05/12 16:22:14 UTC

[jira] [Updated] (FELIX-4513) Add Permissions file in EventAdmin bundle

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

Xi Zhang updated FELIX-4513:
----------------------------

    Description: 
lots of security exception occur on deploying the framework.security bundle in the container
{code}
Exception in thread "Thread-4" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.felix.eventadmin.ThreadPoolSize" "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.eventadmin.impl.Configuration.configure(Configuration.java:208)
	at org.apache.felix.eventadmin.impl.Configuration$1.run(Configuration.java:184)
{code} 





General bundle permissions which are required
(java.util.PropertyPermission "org.apache.felix.eventadmin.*" "read")

  was:
lots of security exception occur on deploying the framework.security bundle in the container
{code}
Exception in thread "Thread-4" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.felix.eventadmin.ThreadPoolSize" "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.eventadmin.impl.Configuration.configure(Configuration.java:208)
	at org.apache.felix.eventadmin.impl.Configuration$1.run(Configuration.java:184)
{code} 





General bundle permissions
(java.util.PropertyPermission "org.apache.felix.eventadmin.*" "read")


> Add Permissions file in EventAdmin bundle
> -----------------------------------------
>
>                 Key: FELIX-4513
>                 URL: https://issues.apache.org/jira/browse/FELIX-4513
>             Project: Felix
>          Issue Type: Improvement
>          Components: Event Admin
>    Affects Versions: eventadmin-1.3.2
>            Reporter: Xi Zhang
>
> lots of security exception occur on deploying the framework.security bundle in the container
> {code}
> Exception in thread "Thread-4" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.felix.eventadmin.ThreadPoolSize" "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.eventadmin.impl.Configuration.configure(Configuration.java:208)
> 	at org.apache.felix.eventadmin.impl.Configuration$1.run(Configuration.java:184)
> {code} 
> General bundle permissions which are required
> (java.util.PropertyPermission "org.apache.felix.eventadmin.*" "read")



--
This message was sent by Atlassian JIRA
(v6.2#6252)