aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Tustison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1768) BlueprintDomainCombiner should not be holding a reference to BundleContext
Date Mon, 15 Jan 2018 22:38:03 GMT

     [ 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)

Mime
View raw message