A description of how to configure a plugin in the c8-server.conf file.
Authentication plugins are compiled .dll files (on Microsoft Windows) or .so files (on UNIX-like operating systems). Sybase CEP Server calls the methods in these libraries when it authenticates a user. For instructions on creating your own authentication plugins, see the Sybase CEP Integration Guide .
Once the plugin library is created, configure the plugin in the c8-server.conf file by creating a section for it in the "SybaseC8/Security/AccessControl/Authentication" section of the file. Here is an example authentication plugin entry:
<section name="C8/Security"> ... <section name="AccessControl"> ... <section name="Authentication"> <section name="Plugin"> <preference name="LibraryName" value="c8authplugin_demo_lib"/> <preference name="InitializeFunction" value="c8authplugin_demo_initialize"/> <preference name="AuthenticateFunction" value="c8authplugin_demo_authenticate"/> <preference name="ShutdownFunction" value="c8authplugin_demo_shutdown"/> </section> ...
Include the following information in your plugin configuration:
The configuration file section that contains the authentication plugin entry must also define any parameters that you want to pass to the plugin functions, using the following syntax:
<preference name=" parameter-name " value=" parameter-value "/>
For example:
<preference name="MyPreference" value="MyParameterValue"/>