Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4513

Add Permissions file in EventAdmin bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • eventadmin-1.3.2
    • None
    • Event Admin
    • None

    Description

      lots of security exception occur on deploying the framework.security bundle in the container

      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)
      

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              taotao100 Xi Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: