Deploy the Custom Authentication Scheme Template

Deploying a custom authentication scheme template using C++ requires that you build and install the custom library.
casso1283
Deploying a custom authentication scheme template using C++ requires that you build and install the custom library.
Follow these steps:
  1. Include the SmApi.h file:
    #include "SmApi.h"
  2. Make the following functions externally visible:
    • SmAutheQuery()
    • SmAuthInit()
    • SmAuthenticate()
    • SmAuthRelease()
  3. Each entry point in the shared library is defined according to the specified syntax.
    Note:
    If you are using Microsoft Visual Studio, export the function addresses to a modular definition file (.DEF) file. To export the function addresses, create a .DEF file, and in the export section of the .DEF file, list all of the authentication scheme functions, described in the previous table. Once you have created the .DEF file, add it to the Microsoft Visual Studio project.
  4. Compile the code into a DLL or shared library.
  5. Install the library in one of the following locations:
    • On UNIX operating environments, in the
      SiteMinder
      lib directory
    • On Windows operating environments, in the
      SiteMinder
      bin directory
You can now specify this library when you configure an authentication scheme instance.