Previous Topic: Sm_AgentApi_IsProtected()Next Topic: Sm_AgentApi_Login()


Sm_AgentApi_IsProtectedDLP()

Checks if the defined resource is protected by SiteMinder DLP integration.

Syntax

int SM_EXTERN Sm_AgentApi_IsProtectedDLP (
   const void                             pHandle,
   const char*                            lpszClientIpAddr,
   const Sm_AgentApi_ResourceContext_t*   pResourceContext,
   Sm_AgentApi_Realm_t*                   pRealm
);

Parameter

I/O

Description

pHandle

I

Agent API session handle returned in parameter ppHandle of Sm_AgentApi_Init().

lpszClientIpAddr

I

The IP address of the client asking for the resource. This is an optional parameter.

pResourceContext

I

A resource definition structure.

pRealm

O

A realm definition structure. The resource is protected by the returned realm.

Return Values