New CredentialsDialog with Win2K Support

by admin 15. October 2004 22:17

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 :(

CredentialsDialog Released

by admin 7. October 2004 00:38

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.

About Us

RikWare is a software development company based in Brisbane, Australia. Led by director, Richard Mason, RikWare focusses on solving challenging business problems promptly and effectively.

RikWare is also the owner of Aussie Bushwalking, a free, wiki-like collaboration site for bushwalkers and the creator of RikMigrations, a migration framework for .NET.

Aussie Bushwalking

Want to discover some new bushwalking ideas? Share a few of your own? Aussie Bushwalking is like Wikipedia... but for bushwalkers. Head on over. Anybody can see the walks and it's free to sign up and share your own.

 

RikMigrations

RikMigrations is a database migration library for .NET based on the migrations facility provided by Ruby on Rails. It allows simple upgrading and downgrading of databases using .NET code (such as VB or C#) either from the command line or built into your application. Unlike many other migration frameworks, RikMigrations is a stand-alone library which does not rely on a large surrounding framework.