You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Scott Tustison (JIRA)" <ji...@apache.org> on 2018/01/15 22:38:03 UTC

[jira] [Updated] (ARIES-1768) BlueprintDomainCombiner should not be holding a reference to BundleContext

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

Scott Tustison updated ARIES-1768:
----------------------------------
    Description: The BlueprintProtectionDomain holds a reference to a bundle context which can become invalid during state changes. This can cause permission checks to fail when starting/stopping features or bundles when a security manager is being used because of the invalid context. Other ProtectionDomain implementations, such as the Felix one for ConfigAdmin hold a reference to the Bundle instead and seem to work as intended.  (was: The BlueprintDomainCombiner holds a reference to a bundle context which can become invalid during state changes. This can cause permission checks to fail when starting/stopping features or bundles when a security manager is being used because of the invalid context. Other DomainCombiner implementations, such as the Felix one for ConfigAdmin hold a reference to the Bundle instead and seem to work as intended.)

> BlueprintDomainCombiner should not be holding a reference to BundleContext
> --------------------------------------------------------------------------
>
>                 Key: ARIES-1768
>                 URL: https://issues.apache.org/jira/browse/ARIES-1768
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.8.2
>            Reporter: Scott Tustison
>            Priority: Major
>
> The BlueprintProtectionDomain holds a reference to a bundle context which can become invalid during state changes. This can cause permission checks to fail when starting/stopping features or bundles when a security manager is being used because of the invalid context. Other ProtectionDomain implementations, such as the Felix one for ConfigAdmin hold a reference to the Bundle instead and seem to work as intended.



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