I am beginning to believe I am a grossly incompetent programmer. After a lot of reading, I still cannot figure out how to cleanly implement an authentication mechanism for a RESTful WCF Service.
I have tried everything:
Following this guide, only to find out that the proposed authentication mechanism is a ugly hack.
Installing the WCF REST Starter Kit, only to find out it is obsolete and has been replaced with another project template.
Install said project template, only to find out it does not provide any authentication mechanism of its own.
Install an IIS module that provides custom authentication functionality at transport level,
only to find out the author provides zero documentation.only to find out I need to implement aMembershipProvider
. (I want to provide only anUserNamePasswordValidator
.)
Is there any sane way to implement an authentication mechanism for a RESTful WCF Service?