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:
- user@host# edit services global service name
- user@host# edit services scope name service name
For example, to configure the service named Video-Gold in the global configuration:
- user@host# edit services global service Video-Gold
- 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