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到底该如何设置
...全文
332 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lhzyn 2007-04-30
  • 打赏
  • 举报
回复
搞清楚了,不是customUserNamePasswordValidatorType的问题,需要设置服务器证书,结贴
jetxia 2007-04-26
  • 打赏
  • 举报
回复
DAY DAY UP
CathySun118 2007-04-23
  • 打赏
  • 举报
回复
up

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧