我一直在为WCF服务创建一个自定义的用户名/密码验证器,并且运行了配置项customUserNamePasswordValidatorType。我已经能够通过下面的例子使我的代码工作,但我只是不明白发生了什么。不幸的是,MSDN article没有提供太多细节。customUserNamePasswordValidatorType发生了什么?
这是Microsoft提供的样品:
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Microsoft.ServiceModel.Samples.CalculatorService.CustomUserNameValidator, service" />
</serviceCredentials>
我试图了解这两个参数是customUserNamePasswordValidatorType:“Microsoft.ServiceModel.Samples.CalculatorService.CustomUserNameValidator”和“服务”。
有人可以帮我理解这些参数是什么意思吗?
谢谢!
太棒了!谢谢! – Jacob 2010-10-25 21:13:43