RE: porting xp gina to vista credential provider



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
.



Relevant Pages

  • Re: Next & Previous buttons dont display data correctly in Access
    ... record counter) and custom buttons. ... NOTE - it is only display that is incorrect - the database remains ... > Exit Sub ...
    (microsoft.public.access.forms)
  • Re: Cant Get a Field to Display the Results of My Formula
    ... Not only was I able to create the formula in the individual file, ... but I also customized it to display a graphical indicator (red, yellow, green ... also displayed in the Master. ... between the date in the Finish field and the date in a custom field ...
    (microsoft.public.project)
  • Re: Web.config
    ... "On" Always display custom messages. ... "Off" Always display detailed ASP.NET error information. ... This section sets the authentication policies of the application. ... This section sets the authorization policies of the application. ...
    (microsoft.public.dotnet.framework.aspnet)
  • ANN: Dialog Workshop for Delphi/C++Builder 1.5.4 (for VCL.NET: 1.1.0)
    ... which allows to display system commmon dialogs as modeless windows. ... dialogs (based on the Windows Common dialogs) in your VCL ... features are available which do not exists in original VCL dialog ... - custom PlacesBar, file list view styles, etc. ...
    (borland.public.delphi.thirdpartytools.general)
  • Lost Access to my Business Contacts Form
    ... click Custom Forms. ... >In the Forms Manager window, ... I am a new user of Outlook 2003 and Business ... >>Unable to display the folder. ...
    (microsoft.public.outlook)