Previous Topic: Multi-Valued Attributes in LDAP

Next Topic: Authentication API

Sm_AuthApi_UserCredentials_t

Contains information about user credentials.

SiteMinder specifies as much information as it has available. Typically, the username and password fields are specified. Each authentication scheme expects a subset of possible credentials.

Fields in this structure are filled in on the basis of requested credentials.

Syntax

typedef struct
{
   char* lpszUsername;
   char* lpszPassword;
   int   nBytesChapPassword;
   char* lpszChapPassword;
   int   nBytesChapChallenge;
   char* lpszChapChallenge;
   char* lpReserved1;
   char* lpszCertUserDN;
   char* lpszCertIssuerDN;
   int   nCertBinLen;
   void* lpCertBinary;
   char* lpszDirPath;
   char* lpszDirServer;
   char* lpszDirNamespace;
   char* lpszNewPassword;
   char* lpszPasswordToken;
} Sm_AuthApi_UserCredentials_t;

Field

Description

lpszUsername

User's DN as disambiguated by SiteMinder from the username specified by the user.

lpszPassword

User password as specified by the user.

nBytesChapPassword

Length of the CHAP password.

lpszChapPassword

CHAP password.

nBytesChapChallenge

Length of the CHAP challenge.

lpszChapChallenge

CHAP challenge.

lpReserved1

Reserved for internal use.

lpszCertUserDN

User DN part of the X.509 user's Certificate.

lpszCertIssuerDN

Issuer DN part of the X.509 user's Certificate.

nCertBinLen

Length of the user's binary X.509 Certificate.

lpCertBinary

User's binary X.509 Certificate.

lpszDirPath

Directory path in the SiteMinder notation of a SiteMinder user directory where user's context was established.

lpszDirServer

Directory server in the SiteMinder user directory where user's context was established.

lpszDirNamespace

Directory namespace in the SiteMinder user directory where user's context was established.

lpszNewPassword

The user's new password.

lpszPasswordToken

The password token from Password Services.



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