You probably have to doPriv around the service registration as cm is on the
stack and probably doesn't have the permission itself. Its either that, or
you assign the permission (or all permission) to the cm bundle.

regards,

Karl


On Thu, Oct 24, 2013 at 10:20 AM, Roland <[email protected]> wrote:

> My permissions:
>
> (org.osgi.framework.ConfigurationPermission * "target")
> (org.osgi.framework.AdminPermission * "metadata")
> (org.osgi.framework.ServicePermission
> "org.osgi.service.cm.ConfigurationAdmin" "get")
> (org.osgi.framework.ConfigurationPermission * "configure")
> (org.osgi.framework.PackagePermission "org.osgi.service.cm" "import")
> (org.osgi.framework.ServicePermission
> "org.osgi.service.cm.ManagedServiceFactory" "register")
> (org.osgi.framework.ServicePermission "my.package.ServiceInterface"
> register)
> (org.osgi.framework.ServicePermission "my.package.MyServiceFactory"
> register)
>
> Did I forget something?
>
> Thanks and Regards
> Roland
>
>
>
> --
> View this message in context:
> http://apache-felix.18485.x6.nabble.com/Access-denied-in-spite-of-permissions-tp5005687p5005720.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Karl Pauls
[email protected]
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls

Reply via email to