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

Module class loader should use secure action instead of a privileged block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework-1.8.1
    • framework-2.0.0
    • Framework
    • None

    Description

      Due to some refactoring, the module class loader was no longer being created in a privileged block, which was causing difficulties when running Felix with the security manager enabled. The refactoring made our existing SecureAction approach for performing secure actions in feasible (because the class loader became an instance inner class and cannot be created externally anymore). For Felix 1.8.1, we just simply wrapped it in a doPrivileged() block, but we should change this to use SecureAction operations like getting the constructor and invoking it. This may require we add some operations to SecureAction or reorganize the existing ones.

      Attachments

        Issue Links

          Activity

            People

              rickhall Richard S. Hall
              rickhall Richard S. Hall
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: