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

## Defining RADIUS Attributes for CoA Requests with the API

The SRC software provides two ways to define RADIUS attributes for dynamic RADIUS authorization requests:

- Service definition (see Configuring the CoA Script Service (SRC CLI))
- SAE core API

  | Note: Parameters set in the API override parameters set by the service definition.

To send dynamic RADIUS authorization requests with the SAE core API, the script service uses the sendDynamicRadius and getRouterDynRadiusAddr methods in the ServiceSessionInfo interface to provide the content of the RADIUS packet for the dynamic authorization request to the router that is attached to the service session.

For information about the ServiceSessionInfo interface, see the script service documentation in the SAE core API documentation on the Juniper Networks Web site at http://www.juniper.net/techpubs/software/management/src/api-index.html.

For a sample implementation, see the following file in the `SDK+AppSupport+Demos+Samples.tar.gz`file:

`SDK/scriptServices/coa/java/net/juniper/smgt/scriptServices/coa/CoaService.java`.

#### Related Topics

- Overview of CoA Script Service
- Configuring CoA Script Services
- Creating the CoA Script Service (SRC CLI)
- Configuring Monitoring Agent to Receive RADIUS Accounting Messages

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