Previous Topic: Sm_PolicyApi_AddSAMLServiceProvider()

Next Topic: Sm_PolicyApi_AddToGroup()

Sm_PolicyApi_AddScheme()

Creates a new SiteMinder authentication scheme. Attributes of the scheme are contained in the pstructScheme structure.

If the scheme exists and the bUpdate flag is true, the item is updated.

Type

Authentication scheme function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_AddScheme (
   void*                    pSessionHandle,
   Sm_PolicyApi_Scheme_t*   pstructScheme,
   const bool               bUpdate
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

pstructScheme

I

A pointer to a completely filled-in scheme structure.

bUpdate

I

A flag to indicate that if an existing object is found, it should be updated.

Returns


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