读书人

WCF中使用 custom Username and Passw

发布时间: 2012-01-10 21:26:51 作者: rapoo

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

读书人网 >.NET Framework

热点推荐