Hmm, I wouldn't say so. Usually the host bundle doesn't know about its fragments and I don't think this is a good idea to assume, even for permissions. Once you grant the right to a fragment to attach itself to the host, the host should automatically get access to its classes and resources. Well, at least that would be my expected behavior.
Cheers, Mirko On Tue, Aug 12, 2008 at 11:35 PM, Costin Leau <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have a question regarding permissions, mainly AdminPermission.RESOURCE. > > Suppose I have a bundle A with two attached fragments, B and C running under > a security manager with the proper BundlePermissions in place and nothing > else. > > I've noticed that unless I add an AdminPermission.RESOURCE from A to B and > C, resources inside the fragments are not found by the host bundle. Is this > the expected behaviour ? > > P.S. For testing, I'm using Equinox 3.2.2 > > Thank you, > -- > Costin > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
