|Re: [equinox-dev] Support for launching with just (Conditional) Permission Admin?|
Equinox does not have a way to run with ConditionalPermissionAdmin but without PermissionAdmin. But you can get equivalent behavior by setting the default permissions in PermissionAdmin to an empty array (i.e. permAdmin.setDefaultPermissions(new PermissionInfo)). If you don't do this then the "default default" permissions for permission admin is AllPermissions.
This will allow you to control all the permissions with ConditionalPermissionAdmin and the permission checks will not fall back to the default permissions in PermissionAdmin.
Marcel Offermans ---02/07/2008 06:20:22 AM---The OSGi security model started out with the Permission Admin service.
Marcel Offermans <marcel.offermans@xxxxxxxxxx>
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
02/07/2008 06:20 AM
[equinox-dev] Support for launching with just (Conditional) Permission Admin?