Associating the Authorization Plug-In with a Scheduled Service (SRC CLI)

After you create an authorization plug-in, you need to associate it with a scheduled service. A scheduled service needs to be authenticated before it is activated.

To authenticate a scheduled service, specify the name of the authentication plug-in 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:

  1. 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 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
  2. 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

Related Documentation