Configuring Custom RADIUS Accounting-Plug-Ins (C-Web Interface)
The custom RADIUS accounting plug-ins provide the same functions as the flexible RADIUS accounting plug-ins, but are designed to deliver better system performance. To use a custom plug-in, you must provide a Java class that implements the service provider interface (SPI) defined in the RADIUS client library. Use this SPI to specify which fields and field values to include in RADIUS accounting packets. The RADIUS client library is part of the SAE core application programming interface (API).
See the documentation for the RADIUS client library in the SAE core API documentation on the Juniper Networks website at https://www.juniper.net/documentation/software/management/src/api-index.html
For a sample implementation, see the following
directory in the
SDK/plugin/java/src/net/juniper/smgt/sample/radiuslib/RadiusPacketHandlerImpl.java.. You can download the
SDK+AppSupport+Demos+Samples.tar.gz from the Juniper Networks website at: https://www.juniper.net/support/products/src/index.html.
To set up custom RADIUS accounting plug-ins:
Click Configure, expand Shared>SAE, and then expand the SAE group for which you want to configure RADIUS plug-ins.
In the side pane, expand Configuration>Plug Ins.
Expand the plug-in that you created for custom RADIUS accounting, and then click Custom RADIUS Accounting.
The Custom RADIUS Accounting pane appears.
Click Create, enter information as described in the Help text in the main pane, and then click Apply.
For information about setting up default peers, see Creating RADIUS Peers (C-Web Interface).