日期:2014-05-20  浏览次数:20775 次

WCF中使用 custom Username and Password Validator 问题
如何设置配置文件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到底该如何设置


------解决方案--------------------
up
------解决方案--------------------
DAY DAY UP