You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Romain Dubois (JIRA)" <ji...@apache.org> on 2013/03/24 12:15:15 UTC
[jira] [Created] (FELIX-3993) Add Permissions file in Log service
bundle
Romain Dubois created FELIX-3993:
------------------------------------
Summary: 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
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 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