Authorizing Scheduled Services with the CLI
You can configure an authorization plug-in to authorize a scheduled service by specifying the name of the plug-in that authorizes the schedule in the service definition. The default schedule authorization plug-in is named scheduleAuth.
Use the following configuration statement to configure an authorization plug-in for a service configured in the global configuration:
services global service name {authorization-plug-in [authorization-plug-in...];}Use the following configuration statement to configure an authorization plug-in for a service configured in the service scope:
services scope name service name {authorization-plug-in [authorization-plug-in...];}To define an authorization plug-in for a service:
- From configuration mode, access the configuration statement that configures the service configuration in the global configuration or in the service scope.
user@host# edit services global service nameuser@host# edit services scope name service nameFor example, to configure the service named Video-Gold in the global configuration:
user@host# edit services global service Video-Gold
- Enter the name of the authorization plug-in that will authorize the schedule for this service.
user@host# set authorization-plug-in [authorization-plug-in...]For example, to specify the default schedule authorization plug-in:
user@host# set authorization-plug-in scheduleAuth