WCF摘要身份验证

时间:2010-06-06 20:56:54

标签: wcf http authentication digest

客户端应该指定什么?

这就够了吗?

binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Digest; 
//...
cf.Credentials.HttpDigest.ClientCredential =  new NetworkCredential("myuser", "mypass", "mydomain");
cf.Credentials.HttpDigest.AllowedImpersonationLevel = TokenImpersonationLevel.Impersonation;

服务器端应该指定什么? 显然需要:

binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Digest;

但是在服务器中指定了摘要用户名\密码来验证客户端?

此外,当Micosoft表示摘要式身份验证使用域控制器时, 这是什么意思? 它是否针对它验证用户名\密码?

0 个答案:

没有答案