Sun Java System Portal Server 7 Developer's Guide

ProcedureTo Create Custom Plug-In Functions

The following steps are a brief overview of the process for creating your own plug-in functions.

Steps
  1. Compile your code to create a shared object (.so) file.

  2. In the Setup directives at the top of filter.conf, you tell the robot to load your shared object file or dynamic-link library.

  3. Write directives that use your plug-in functions in the robot configuration file (filter.conf).

    The PortalServer-base/sdk/robot/include directory contains all the header files you need to include when writing your plug-in functions.

    The PortalServer-base/sdk/robot/examples directory contains sample code, the header files, and a makefile. You should familiarize yourself with the code and samples.