You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Ulf Dittmer (JIRA)" <ji...@apache.org> on 2010/07/11 12:42:49 UTC

[jira] Resolved: (FELIX-1908) PreferencesService doesn't work if a PermissionAdmin is present

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

Ulf Dittmer resolved FELIX-1908.
--------------------------------

    Fix Version/s: prefs-1.0.4
                   framework.security-1.2.0
       Resolution: Cannot Reproduce

> PreferencesService doesn't work if a PermissionAdmin is present
> ---------------------------------------------------------------
>
>                 Key: FELIX-1908
>                 URL: https://issues.apache.org/jira/browse/FELIX-1908
>             Project: Felix
>          Issue Type: Bug
>          Components: Permission Admin, Preferences Service
>    Affects Versions: prefs-1.0.4
>            Reporter: Ulf Dittmer
>             Fix For: prefs-1.0.4, framework.security-1.2.0
>
>
> If a PermissionAdmin service is present, then a bundle making use of PreferencesService currently needs a "org.osgi.service.prefs.PreferencesService" "get" ServicePermission (which is as it should be), but also a FilePermission for the felix-cache subdirectory that contains the data for the PreferencesService bundle. WIthout it, an attempt to alter preferences results in a security exception.
> A bundle should not have (or need) file access to another bundle's private data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.