Previous Topic: Directory Instance Handle

Next Topic: Directory Entry (User) Instance Handle

Directory Provider Handle

The sample defines the provider handle structure ProviderHandle_t to serve as a bridge between the SiteMinder Policy Server and the Directory API. The provider handle can be used to store data from the time SiteMinder loads the library until the SiteMinder Policy Server shuts down.

The sample instantiates ProviderHandle_t when SmDirInit() is called. The handle is then passed to almost all subsequent functions. The same value need not be carried through the entire process. You are permitted to change the value.

The sample releases ProviderHandle_t when SmDirRelease() is called.

See the function SmDirInit() in the sample code for an example of ProviderHandle_t. You can follow this example, but you aren't required to. ProviderHandle_t can contain any information that you would like to set at the beginning of the process and carry through, such as a user's password.


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