RikWare
...

New CredentialsDialog with Win2K Support

Saturday, 16 October 2004 03:17 by admin

A new version of the CredentialsDialog is available. This version adds support for windows 2000 and earlier operating systems that don't support the CredUIPromptForCredentials API. Support is provided by a fully managed "pseudo" dialog which looks similar to native one. Extension panels are still supported, and shouldn't require any knowledge of which dialog they are being hosted in. Saving credentials is also supported through the DPAPI (on windows 2000, on earlier systems this is disabled since the DPAPI is unavailable).

I'm pretty happy with the way the whole project degrades gracefully, using whatever APIs are available. I still want to add support for detecting if we have permissions to call native code and falling back to the fully managed version when we don't. Then the project could be used in untrusted environments as well.

Anyway, I'm off to my handball finals this arvo then on to the Bullets first home game. I've been meaning to go to a game for a few years but haven't got around to it. Finally I'm going thanks to a birthday present from my brother-in-law and his girlfriend. At least I'm moving on after the Lions' loss :(

Categories:   Programming
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

CredentialsDialog Released

Thursday, 7 October 2004 05:38 by admin

I've finally cleaned up the CredentialsDialog and prepared it for release to the big bad world. Basically it's a wrapper around the CredUIPromptForCredentials windows call which gives you the nice login dialog. Of course this dialog also allows users to save their credentials without any extra effort on your part. Additionally I've added the ability to extend the dialog with extra winforms controls. Currently I provide one extension (shown below) which includes a "create new user" link. You can write extra ones as you wish.

CredentialsDialog with CreateUserExtensionPanel

Full source is provided under a BSD style license.

Categories:   Programming
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed