I have to implement an interface like this:
interface IMembershipWrapper
{
Guid GetUserId();
Guid GetUserId(string username, bool userIsOnline);
bool ValidateUser(string userName, string password);
…
}
against active directory and inject it using Unity.
I might get away with throwing a NotImplementedException exception for certain methods but do you think it is generally possible? What strategy do you recommend?
I understand that I can configure 'active directory asp.net forms authentication' via the web.config as described here. Unfortunately, this is not an option.