Szerkesztés

Megosztás a következőn keresztül:


Implementing a Credential Manager

To create a credential manager, you must create a DLL that exports the following functions:

To restore notifications to the NPLogonNotify and NPPasswordChangeNotify functions for smart card logon, create a registry entry called SmartCardLogonNotify as a DWORD, and set it to 1:

HKEY_LOCAL_MACHINE
   Software
   Microsoft
   Windows NT
   CurrentVersion
      Winlogon
         Notify
            SmartCardLogonNotify = 1

Windows Server 2003 and Windows XP: The SmartCardLogonNotify registry entry is not required.

In addition, credential managers should also support the NPGetCaps function for WNNC_START (supporting other indexes is not required for credential managers). This tells MPR when a credential manager will start. By calling NPGetCaps with the nIndex parameter set to WNNC_START, the MPR gets the time to wait before calling the provider's credential management entry point functions. And if the MPR has this information, it can forward it to the credential manager, setting the time out.