I'm implementing a service in WCF and need to have custom user authentication, by means of a username/password. This service is configured as a WebScript(JSON) service.
I would like to know if it's possible to obtain a security context so I don't have to include a hash or user/pass in every call. I know I can use a certificate for this, but I need to have the uses/pass mechanism of authenticating.
I'm going to be talking to this service using AJAX(jQuery), and it should be possible to use basic HTTP authentication.
This service will later on also expose other endpoints, for example over TCP, and this does support "proper" authentication.
There are so many ways to go for security in WCF, I feel kind of lost, and it feels like the more I read about it the less I know.