[
https://issues.apache.org/jira/browse/FELIX-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Augé resolved FELIX-3993.
---------------------------------
Resolution: Won't Fix
> Add Permissions file in Log service bundle
> ------------------------------------------
>
> Key: FELIX-3993
> URL: https://issues.apache.org/jira/browse/FELIX-3993
> Project: Felix
> Issue Type: Improvement
> Components: Log Service
> Affects Versions: log-1.0.1
> Reporter: Romain Dubois
> Priority: Minor
> Labels: security
>
> Most of felix bundles should have a permissions file.
> For Log Service bundle, I suggest the following content for
> "OSGI-INF/permissions.perm" file:
> # Apache Felix Log Service
> # Bundle permissions
> #
> # Imported/Exported packages
> # -> MANIFEST.MF
> (org.osgi.framework.PackagePermission "org.osgi.framework" "import")
> (org.osgi.framework.PackagePermission "org.osgi.service.log"
> "import,exportonly")
> # Log service configuration and registration
> # -> Activator
> (java.util.PropertyPermission "org.apache.felix.log.*" "read")
> (org.osgi.framework.ServicePermission "org.osgi.service.log.*"
> "get,register")
> Note: I have extracted those permissions from code analysis then tested the
> suggested file in simple examples.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)