Version:

MarketplaceSupport

Interception Script

Interception scripts are written in Java and used to override the default behavior of RadiantOne to implement functionality to meet your needs. Examples of functionality you can introduce are:

  • Complex mappings (concatenations, or string manipulations)

  • Override the incoming query (pre-processing)

  • Processing/changing a result (post processing)

Interception scripts can be configured at a global level (to apply to all root naming contexts configured for the RadiantOne namespace), or for a specific identity view/naming context only.

To enable an interception script for a specific identity view/naming context:

  1. From the Control Panel > Setup > Directory Namespace > Namespace Design, navigate to the identity view/node where the interception script should be invoked.
  2. On the right side, select the ADVANCED SETTINGS tab.
  3. Enable the operations you want to intercept and click SAVE.
  4. Click ... > Edit Script to customize the interception script.
  5. Edit the script and click SAVE.
  6. Rebuild the intercept.jar file by clicking Build Interception Jar. Interception Script
  7. Restart the RadiantOne service. This can be done in your environment in Environment Operations Center. After restart, the interception script logic is invoked for the enabled operations.

For samples of interception scripts, please see the Radiant Logic Knowledge Base at: https://support.radiantlogic.com

Only registered customers have access to the Knowledge Base.

To use external libraries in the interception script:

  1. From the Control Panel > Setup > Directory Namespace > Namespace Design, navigate to the identity view/node where the interception script should be invoked.
  2. On the right side, select the ADVANCED SETTINGS tab.
  3. Click ... > Manage External Libraries.
  4. Click the Choose a File Link to browse to the library file.
  5. Click OPEN.
  6. Click CLOSE. The libraries are available to use in the interception script.

IN THIS PAGE