[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Security Doubt

You can configure your system to support this. Note: since using permission is invasive in Java code (doPrivileged), all the bundles, in particular B, must be properly coded with the necessary doPrivileges to make it work.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the
OSGi Alliance

office: +1 386 848 1781
mobile: +1 386 848 3788

From: "David Conde" <dconde@xxxxxxxx>
To: <equinox-dev@xxxxxxxxxxx>
Date: 2009/04/28 05:18
Subject: [equinox-dev] Security Doubt
Sent by: equinox-dev-bounces@xxxxxxxxxxx

Hi , I have a doubt about permissions in Equinox, I would like to have the next scenario.
I would like to have a set of bundles called A,A1, A2 running in Equinox, which are able to communicate and know about bundle B, but they do not know about the existence of bundle C, all of them running as well on Equinox. I mean, Bundle A,A1,A2 have permissions either to get service or import service from bundle B, bundle B have permissions either to import or get the service from C, and A, A1 and A2 are not able to get or import service from C. My question is ¿if it is possible to use bundle B from bundles A,A1,A2 to get acess to C service?Will either Java security or Equinox Security thrown an exception in this case?
Thank you in advance
equinox-dev mailing list