I am trying to configure a WCF service hosted in IIS that provides an endpoint that acts like a REST service that creates JSON data, and I want to use HTTPS. I want to authenticate the user myself with UserNamePasswordValidator, since users are stored in the database.
I am currently using webhttpbinding to achieve REST completeness. My problem starts when I try to enable HTTPS (setting security mode to "Transport"). I have a server side SSL certificate (now signed by itself), so that’s all fine, but I don’t know how to configure the clientCredentialType transport bindings so that the credentials are passed to my UserNamePasswordValidator implementation.
I google a lot, but I can’t find anything good. If I understand it correctly, IIS processes authentication before WCF, and there is nothing to do with it? I would prefer not to use the ASP.Net membership provider, but maybe this is an approach or is there another way?
Thanks!
Edit: found this . Not quite what I was hoping for ...
source share