Previous Topic: SDK Samples

Next Topic: SiteMinder Test Tool

Sample Subdirectories

The sample subdirectories contain source files, project files, makefiles, and other related files for building the sample applications and plug-ins.

The following table lists the subdirectories where the sample files are installed:

Subdirectory Name

Sample Description

assertiongenerator
   plugin

Java sample of SAML assertion customization.

 

dmsworkflow

C-language Delegated Management Services workflow sample.

 

javaauthapi

Java custom authentication sample.

 

javaazapi

Java custom authorization samples.

 

javadmsapi

Java Delegated Management Services sample.

The directory includes examples of build and run
scripts. You can use the examples as models for your own scripts.

This sample uses the policy store created by the javapolicyapi sample.

 

javapolicyapi

Java policy management sample.

The directory includes examples of build and run scripts. You can use the examples as models for your own scripts.

smagentapi

C-language custom agent sample.

smauthapi

C-language custom authentication sample.

smazapi

C-language custom authorization sample.

 

smdirapi

C-language sample for accessing unsupported directories.

smeventproviderapi

C-language sample for creating custom event handlers.

This sample references the header file smeventproviderapi.h. This is a custom header file used exclusively with this sample. The header file required for the Event API (and referenced within smeventproviderapi.h) is SmEventApi.h.

 

smjavaagentapi

Java custom agent sample.

The directory includes examples of build and run scripts. You can use the examples as models for your own scripts.

This sample uses the policy store created by the javapolicyapi sample.

 

smpolicyapi

C-language policy management sample.

The sample shows how to protect a Web resource by creating a variety of SiteMinder Policy objects. The example includes:

  • Calls to initialize and uninitialize the API.
  • The calls that are required to create agents, domains (policy domains), user directories, realms, rules, responses, and policies.

 

smtunnelagent

C-language tunnel agent sample.

This sample is provided to communicate with the smtunnelservice sample shared library. The smtunnelagent sample uses the Agent API's Sm_AgentApi_Tunnel() function.

 

smtunnelservice

C-language tunnel services sample.

 


Copyright © 2010 CA. All rights reserved. Email CA about this topic