This function is called to get the connection handle to the directory.
If you are using active rules, policies, or responses, the SiteMinder Policy Server calls SmDirGetDirConnection() when it calls an authentication scheme library or an active library. The SiteMinder Policy Server calls SmDirGetDirConnection() before authentication.
When implementing SmDirGetDirConnection(), return NULL.
Syntax
void* SM_EXTERN SmDirGetDirConnection ( const Sm_Api_Context_t* lpApiContext, void* pHandle, void* pInstanceHandle );
Parameter |
I/O |
Description |
---|---|---|
lpApiContext |
I |
Pointer to the API context structure. |
pHandle |
I |
The address of the pointer returned by SmDirInit(). |
pInstanceHandle |
I |
The address of a pointer to the directory instance handle. |
Returns
When implementing SmDirGetDirConnection(), return NULL, as shown in the sample.
Copyright © 2014 CA.
All rights reserved.
|
|