Thanks! I think I've gotten a little further. So I want to create a scenario where only my signed bundles will be installed and running in the container.
So in one of my bundles, I create a couple permissions: -BundleLocationCondition (like below) for system bundle AllPermission -BundleLocationCondition for my bundle AllPermission -BundleSignerCondition that says only bundles signed with CN=ROSHAN,* have AllPermission Do I have to add another BundleSignerCondition, not sure how, but that says any other bundles have no permission? Roshan On Jun 19, 2010, at 3:34 AM, Goichon Francois wrote: > final ConditionalPermissionUpdate condPermUpdate = > cpa.newConditionalPermissionUpdate(); > final List<ConditionalPermissionInfo> permlist = > condPermUpdate.getConditionalPermissionInfos(); > > permlist.add(cpa.newConditionalPermissionInfo(null, > new ConditionInfo[]{ > new > ConditionInfo(BundleLocationCondition.class.getName(), > new String[]{ > > context.getBundle(0).getLocation() > } > ) > }, > new PermissionInfo[]{ > new > PermissionInfo(AllPermission.class.getName(),"", "") > }, > "allow")); Roshan Punnoose rpunno...@proteuseng.com Proteus Technologies --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org