You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/10/29 16:59:59 UTC
[jira] Resolved: (FELIX-1827) Check permission before getting or
registering services
[ https://issues.apache.org/jira/browse/FELIX-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-1827.
--------------------------------------
Resolution: Fixed
Fix Version/s: scr-1.2.0
Implemented the permission checks in Rev. 831005.
> Check permission before getting or registering services
> -------------------------------------------------------
>
> Key: FELIX-1827
> URL: https://issues.apache.org/jira/browse/FELIX-1827
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR), Specification compliance
> Affects Versions: scr-1.2.0
> Reporter: Felix Meschberger
> Fix For: scr-1.2.0
>
>
> The DS specification states in 112.9.3 that SCR has to call Bundle.hasPermission for the providing bundle when registering or getting services on behalf of the providing bundle:
> SCR does all publishing, finding and binding of services on behalf of the
> component using the Bundle Context of the component's bundle. This
> means that normal stack-based permission checks will check SCR and not
> the component's bundle. Since SCR is registering and getting services on
> behalf of a component's bundle, SCR must call the Bundle.hasPermission
> method to validate that a component's bundle has the necessary permission
> to register or get a service.
> This is not currently implemented.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.