You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/09/12 10:16:00 UTC

[jira] [Resolved] (FELIX-5918) [ConfigAdmin] AccessControlExceptions in ConfigurationAdmin methods

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

Carsten Ziegeler resolved FELIX-5918.
-------------------------------------
    Resolution: Fixed

Thanks for reporting [~cnoelle]. I've committed a potential fix in rev 1840649. Please give it a test

> [ConfigAdmin] AccessControlExceptions in ConfigurationAdmin methods
> -------------------------------------------------------------------
>
>                 Key: FELIX-5918
>                 URL: https://issues.apache.org/jira/browse/FELIX-5918
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.9.4
>            Reporter: Christoph Nölle
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: configadmin-1.9.6
>
>
> There are several calls to Bundle#getLocation in the public (API) methods in ConfigurationAdminImpl. When security is enabled these fail with AccessControlException if the caller of these methods does not have AdminPermission ("metadata").
> Preferrably the location should be accessed just once in the constructor (wrapped in a privileged block) and stored in a final field.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)