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

Configuring Scripts for IDP

The idpsdx.py script provides documented source code as well as configuration properties to allow you to create customized e-mail messages and implementations. You can locate the scripts in the /opt/UMC/idp/scripts directory.

Before You Configure Scripts

Before you configure scripts:

Configuring Scripts

To configure scripts:

  1. Edit the idpsdx.py file to specify the actions to be taken.

    See Properties in the idpsdx.py File.

  2. Copy the idpsdx.py file and the idpsdx.sh file (if you use this file) to the appropriate directory for IDP Manager. For the location of this directory, see the IDP documentation at
    http://www.juniper.net/techpubs/software/management/idp/

Properties in the idpsdx.py File

You can modify the following properties in the idpsdx.py file.

RECORD URL

DSA URL

DEBUG

RECORD

CAPTIVE

CAPTIVE SERVICE

EMAIL

Sample idpsdx.py Script

Through Dynamic Service Activator, the sample idpsdx.py script activates the service that redirects subscribers to the captive portal. Because Dynamic Service Activator does not support persistent activation, the sample portal activates the service for the captive portal only for users who are logged in to their account.

If you want subscribers to see the IDP captive portal at any time—for example, when they log out of their account, and then log back in to their account but do not try to access the Web—you can write an SAE extension script and invoke it from the invokeScript method in Dynamic Service Activator.

 


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