structure SECPKG_FUNCTION_TABLE (ntsecpkg.h)
La structure SECPKG_FUNCTION_TABLE contient des pointeurs vers les fonctions LSA qu’un package de sécurité doit implémenter. L’autorité de sécurité locale (LSA) obtient cette structure à partir d’une DLL SSP/AP lorsqu’elle appelle la fonction SpLsaModeInitialize.
Syntaxe
typedef struct _SECPKG_FUNCTION_TABLE {
PLSA_AP_INITIALIZE_PACKAGE InitializePackage;
PLSA_AP_LOGON_USER LogonUser;
PLSA_AP_CALL_PACKAGE CallPackage;
PLSA_AP_LOGON_TERMINATED LogonTerminated;
PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted;
PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
PLSA_AP_LOGON_USER_EX LogonUserEx;
PLSA_AP_LOGON_USER_EX2 LogonUserEx2;
SpInitializeFn *Initialize;
SpShutdownFn *Shutdown;
SpGetInfoFn *GetInfo;
SpAcceptCredentialsFn *AcceptCredentials;
SpAcquireCredentialsHandleFn *AcquireCredentialsHandle;
SpQueryCredentialsAttributesFn *QueryCredentialsAttributes;
SpFreeCredentialsHandleFn *FreeCredentialsHandle;
SpSaveCredentialsFn *SaveCredentials;
SpGetCredentialsFn *GetCredentials;
SpDeleteCredentialsFn *DeleteCredentials;
SpInitLsaModeContextFn *InitLsaModeContext;
SpAcceptLsaModeContextFn *AcceptLsaModeContext;
SpDeleteContextFn *DeleteContext;
SpApplyControlTokenFn *ApplyControlToken;
SpGetUserInfoFn *GetUserInfo;
SpGetExtendedInformationFn *GetExtendedInformation;
SpQueryContextAttributesFn *QueryContextAttributes;
SpAddCredentialsFn *AddCredentials;
SpSetExtendedInformationFn *SetExtendedInformation;
SpSetContextAttributesFn *SetContextAttributes;
SpSetCredentialsAttributesFn *SetCredentialsAttributes;
SpChangeAccountPasswordFn *ChangeAccountPassword;
SpQueryMetaDataFn *QueryMetaData;
SpExchangeMetaDataFn *ExchangeMetaData;
SpGetCredUIContextFn *GetCredUIContext;
SpUpdateCredentialsFn *UpdateCredentials;
SpValidateTargetInfoFn *ValidateTargetInfo;
LSA_AP_POST_LOGON_USER *PostLogonUser;
SpGetRemoteCredGuardLogonBufferFn *GetRemoteCredGuardLogonBuffer;
SpGetRemoteCredGuardSupplementalCredsFn *GetRemoteCredGuardSupplementalCreds;
SpGetTbalSupplementalCredsFn *GetTbalSupplementalCreds;
PLSA_AP_LOGON_USER_EX3 LogonUserEx3;
PLSA_AP_PRE_LOGON_USER_SURROGATE PreLogonUserSurrogate;
PLSA_AP_POST_LOGON_USER_SURROGATE PostLogonUserSurrogate;
SpExtractTargetInfoFn *ExtractTargetInfo;
} SECPKG_FUNCTION_TABLE, *PSECPKG_FUNCTION_TABLE;
Membres
InitializePackage
Pointeur vers la fonction LsaApInitializePackage .
LogonUser
Pointeur vers la fonction LogonUser .
CallPackage
Pointeur vers la fonction CallPackage .
LogonTerminated
Pointeur vers la fonction LsaApLogonTerminated .
CallPackageUntrusted
Pointeur vers la fonction LsaApCallPackageUntrusted .
CallPackagePassthrough
Pointeur vers la fonction CallPackagePassthrough .
LogonUserEx
Pointeur vers la fonction LogonUserEx .
LogonUserEx2
Pointeur vers la fonction LsaApLogonUserEx2 .
Initialize
Pointeur vers la fonction SpInitialize .
Shutdown
Pointeur vers la fonction SpShutdown .
GetInfo
Pointeur vers la fonction SpGetInfo .
AcceptCredentials
Pointeur vers la fonction SpAcceptCredentials .
AcquireCredentialsHandle
Pointeur vers la fonction AcquireCredentialsHandle .
QueryCredentialsAttributes
Pointeur vers la fonction QueryCredentialsAttributes .
FreeCredentialsHandle
Pointeur vers la fonction FreeCredentialsHandle .
SaveCredentials
Pointeur vers la fonction SpSaveCredentials .
GetCredentials
Pointeur vers la fonction GetCredentials .
DeleteCredentials
Pointeur vers la fonction SpDeleteCredentials .
InitLsaModeContext
Pointeur vers la fonction SpInitLsaModeContext .
AcceptLsaModeContext
Pointeur vers la fonction SpAcceptLsaModeContext .
DeleteContext
Pointeur vers la fonction SpDeleteContext .
ApplyControlToken
Pointeur vers la fonction ApplyControlToken .
GetUserInfo
Pointeur vers la fonction SpGetUserInfo .
GetExtendedInformation
Pointeur vers la fonction SpGetExtendedInformation .
QueryContextAttributes
Pointeur vers la fonction QueryContextAttributes (Général).
AddCredentials
Pointeur vers la fonction SpAddCredentials .
SetExtendedInformation
Pointeur vers la fonction SpSetExtendedInformation .
SetContextAttributes
Pointeur vers la fonction SetContextAttributes .
SetCredentialsAttributes
Pointeur vers la fonction SetCredentialsAttributes .
ChangeAccountPassword
Pointeur vers la fonction ChangeAccountPassword .
QueryMetaData
Pointeur vers la fonction QueryMetaData .
ExchangeMetaData
Pointeur vers la fonction ExchangeMetaData .
GetCredUIContext
Pointeur vers la fonction GetCredUIContext .
UpdateCredentials
Pointeur vers la fonction UpdateCredentials .
ValidateTargetInfo
Pointeur vers la fonction SpValidateTargetInfoFn .
PostLogonUser
GetRemoteCredGuardLogonBuffer
GetRemoteCredGuardSupplementalCreds
GetTbalSupplementalCreds
LogonUserEx3
PreLogonUserSurrogate
PostLogonUserSurrogate
ExtractTargetInfo
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows XP [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows Server 2003 [applications de bureau uniquement] |
En-tête | ntsecpkg.h |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour