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

[ConfigAdmin] AccessControlExceptions in ConfigurationAdmin methods

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cnoelle Christoph Nölle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: