Sun Java System Messenger Express 6 2005Q4 Customization Guide

SDK Files and Functions

To integrate the authentication SDK into the existing code, include the expapi.h header file into the calling code and link with the shared library (.dll or .so file). On some platforms, the authentication SDK may also require to link with other system libraries.

SDK Files and Functions lists the contents of msg_svr_base/bin/msg/authsdk (the install package).

Table 5–1 Contents of authsdk

Files  

Function  

libexpress.so or DLL

The SDK library 

cgiauth.c

Source code for sample CGI using the API

expapi.h

Header file for API users 

login.html

HTML source for the sample code 

nsapiauth.c

Source code for the sample NSAPI plug-in using API 

README

A readme documenting the API and use 

login.cgi

Compiled CGI file 

Makefile.sample

Example makefile to build login.cgi