This class represents the permissions to control and query the status of
a Daemon. A DaemonPermission consists of a
target name and a list of actions associated with it.
In this specification version the only available target name for this
permission is "control", but further releases may add more target
names to fine-tune the access that needs to be granted to the caller.
Actions are defined by a string of comma-separated values, as shown in the
table below. The empty string implies no permission at all, while the
special "*" value implies all permissions for the given
name:
Target"Name
Action
Description
"control"
"start"
The permission to call the start() method in an instance
of a DaemonController interface.
"stop"
The permission to call the stop() method in an instance
of a DaemonController interface.
"shutdown"
The permission to call the shutdown() method in an instance
of a DaemonController interface.
"reload"
The permission to call the reload() method in an instance
of a DaemonController interface.
"*"
The special wildcard action implies all above-mentioned action. This is
equal to construct a permission with the "start, stop, shutdown,
reload" list of actions.
Daemon. ADaemonPermissionconsists of a target name and a list of actions associated with it.In this specification version the only available target name for this permission is "control", but further releases may add more target names to fine-tune the access that needs to be granted to the caller.
Actions are defined by a string of comma-separated values, as shown in the table below. The empty string implies no permission at all, while the special "*" value implies all permissions for the given name:
start()method in an instance of aDaemonControllerinterface.stop()method in an instance of aDaemonControllerinterface.shutdown()method in an instance of aDaemonControllerinterface.reload()method in an instance of aDaemonControllerinterface.