Previous Topic

Next Topic

Book Contents

Book Index

Privileged Threads Manager service

Through the PrivilegedThreadsManager service, you can mark the current thread as privileged so that no permission checks on it are made until you take off the security privilege.

The interface of the Privileged Threads Manager service is com.prosyst.mbs.framework.permissionadmin.PriviligedThreadsManager. The method to make the current thread privileged is markCurrent. To make the thread not privileged again, use the unmark method.

The PrivilegedThreadsManager service is registered when the framework is started with security (refer to the "Starting the framework with security" section in the Starting the framework document).

Registering bundle

This service is registered by the System bundle.