WCF中使用 custom Username and Password Validator 问题
lhzyn 2007-04-23 02:34:41 如何设置配置文件serviceCredentials节中的customUserNamePasswordValidatorType参数
我的设置如下
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="Custom"
customUserNamePasswordValidatorType="WCFSecurityTest.ServiceLib.TestMethods.CustomUserNameValidator,WCFSecurityTest.ServiceLib" />
</serviceCredentials>
系统报位能从程序集中加载WCFSecurityTest.ServiceLib.TestMethods.CustomUserNameValidator类型,可我的WCFSecurityTest.ServiceLib.TestMethods.CustomUserNameValidator的确是包含在WCFSecurityTest.ServiceLib之中.
这个customUserNamePasswordValidatorType到底该如何设置