RE: porting xp gina to vista credential provider
- From: sushi_cw <sushicw@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Feb 2008 11:29:05 -0800
I've been working on a custom CP solution for a few months, so I'll take a
swing at this.
1. I'm not sure what you mean here. Do you mean on the LogonUI itself or on
your custom dialog? The LogonUI controls are limited to certain specific
options.
2. Not sure, but I don't think so.
3: Yes. You can create normal win32 dialogs. The "Advise" method passes in a
pointer to an interface (ICredentialProviderCredentialEvents) that includes a
method for getting a window handle to which you can attach your dialogs
(OnCreatingWindow). In my implementation, I get and save this handle in the
"Advise" method, then use it to create my dialogs in the SetSelected method
(called when the tile is clicked on).
4. Credential providers support autologon: I haven't used it, but it seems
pretty simple. Between samples, the technical reference, and the one or two
available Credential Provider articles, it should be fairly clear. I believe,
although I have not tried it myself, that you should be able to use the
autologon scenario with a modal dialog. The dialog, when it exited, could
pass back the login credentials as a return value (or by setting some global
structure).
At any rate, the scenario you described sounds very doable.
"dmm" wrote:
Currently I have a custom xp gina that provides several layers of.
authentication:
1. A list of users that may log on is displayed in a dialog listbox;
2. After a user is selected, another dialog is displayed that prompts for a
textual password;
3. Optionally, another dialog is displayed that prompts for a fingerprint
image for additional verification.
I would like to maintain this functionality in Vista. I would also like to
protect our investment as much as possible in the custom UI that has been
developed. I have a few questions:
1. It appears that the UI provided by LogonUI is not equipped to display any
controls requiring some underlying graphical complexity. Is this true?
2. Is it possible to display custom dialogs during the logon process in
Session "X"?
3. In the gina environment, it was necessary to wrap the dialog creation by
invoking analagous WLX functions. Can Win32 dialogs be created normally
during logon, i.e. without wrapping?
4. After a user has successfully passed the "dialog" test and has been
verified by my credential provider, how does it notify LogonUI/Winlogon to
proceed with the logon process?
Thanks
dmm
- Prev by Date: RE: export keys
- Next by Date: Re: export keys
- Previous by thread: export keys
- Next by thread: IIS7 Complete Certificate Request Fails with Error: ASNI1 bad tag value met. 0X80009310b (ASN:267)
- Index(es):
Relevant Pages
|