[Contents] [Prev] [Next] [Index] [Report an Error]

# Authorizing Scheduled Services (SRC 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:

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 Topics

- Overview of Service Schedules
- Adding a Service Schedule (SRC CLI)
- Authorizing Scheduled Services (C-Web Interface)
- Defining Attributes for Service Activation (SRC CLI)

[Contents] [Prev] [Next] [Index] [Report an Error]