Dear Sebastian,
In the Conditional Permission Admin, R4.2 release of the OSGi specification, there is a portion included explaining the differences from the 4.1 release. As far as an example – I was able to find an old one - R 4.1 - using mBS Prof. 6.1. Since there isn’t much change, it might still be beneficial for you to look at. It is not tested on the current mBS PE 6.2. So here it is:
Generally, the Conditional Permission Admin service extends the concepts of dynamic permission definition of the OSGi Permission Admin service by introducing conditional permissions and is available only if the framework is started with security.
A conditional permission is associated with a set of conditions and a set of permissions.
The permissions of the conditional permission become granted when all associated conditions become satisfied.
I am not sure what you mean by <basic permissions>, but whatever is possible with PermissionAdmin is also possible with ConditionalPermissionAdmin, while the opposite is not always true.
Please, find the attached files – starting with notes.txt
https://dz.prosyst.com/prosyst/downloads/1258812795/cond_perm/notes.txt https://dz.prosyst.com/prosyst/downloads/1258812795/cond_perm/Sources.zip https://dz.prosyst.com/prosyst/downloads/1258812795/cond_perm/Binaries.zip You might have already looked up our documentation for this topic, but here is a link again:
http://dz.prosyst.com/pdoc/mbs_prof_6.1/um/framework/bundles/system/system/syste
m.html#condpermadmin Hope this would be helpful.
Best regards,
Orlin