Each library contains header files, samples, and README files containing information on how to implement the C SDK. More information is in the following sections.
A header file is a text file that contains pieces of code written in the C programming language. The name of a header file, by convention, ends with the .h extension. It is inserted inside a program by coding the #include preprocessor directive. The OpenSSO Enterprise C header files are:
General utility routines provided by the OpenSSO Enterprise library.
Data types and functions for developing custom authentication modules.
Data types and functions for logging on the local system or the OpenSSO Enterprise host.
Data types and functions for creating, destroying, and manipulating the map objects used by OpenSSO Enterprise.
Data types and functions for implementing notifications.
Data types and functions for using OpenSSO Enterprise policy objects.
Data types and functions for property maps used by clients of the OpenSSO Enterprise client API.
Data types and functions for implementing SSO.
Data types and functions for manipulating strings.
Common types and macros provided by OpenSSO Enterprise.
Functions to encode/decode HTTP cookies.
Data types and functions intended for use by OpenSSO Enterprise web agents.
OpenSSO Enterprise provides code samples that demonstrate how you can use the API to connect C applications to the OpenSSO Enterprise framework. The code samples are:
Demonstrates the basic usage of the authentication API used to login to an instance of OpenSSO Enterprise.
Demonstrates the basic usage of the logging API used to write a message to the OpenSSO Enterprise logs.
Demonstrates the basic usage of the policy API to evaluate access for specified resources.
Demonstrates the basic usage of the SSO API to perform session operations.
Demonstrates how to use the policy API to build a web agent for the Apache Web Server.
This is a sample web agent and is not intended to serve as a web agent in a real deployment.
Makefile for building the sample agent.
Provides detailed instructions for building and executing sample programs.
am_web_agent_test.c, referred to in this file, is no longer used.