Search code examples
wcfwifusernametoken

Any sample with WIF + WCF for login / password validation?


There are many WIF examples for Asp.Net. However samples with WCFServiceLibrary are scarce.

Does anyone have an example with user credential of type username password?

I'd like to verify them via a CustomUserNameValidator which works on a view linked to my database.

Thanks


Solution

  • I am currently using the WSTrustFeb2005 binding to create a channel between ADFS and a custom STS. For this I am using a custom security token handler with username/password validation. I've just blogged about this. Maybe you'll find it useful:

    http://netpl.blogspot.com/2011/09/quest-for-customizing-adfs-sign-in-web_2465.html