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
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
You don't need WIF for that. Custom user name password validator is feature of WCF. WIF is needed for advanced claim based and federated scenarios.
精彩评论