简体   繁体   English

通过用户名和密码使用WCF对用户进行身份验证的最佳方法是什么

[英]What is the best way to authenticated users with WCF by username and password

for the project i am making I need a WCF webservice that is secured using a username and password. 对于我正在做的项目,我需要一个使用用户名和密码保护的WCF Web服务。 The data of the authenticated user must be accesable in de webservice self, for logging purposes. 经过身份验证的用户的数据必须可以在de webservice self中访问,以便进行日志记录。

Does anyone have suggestions on how to do this? 有人对此有建议吗?

Look at Microsofts article on this topic. 查看有关该主题的Microsoft文章。

More links: 更多链接:

  1. Custom User-Pass validator to create you own user/pass storage 定制用户通过验证器来创建您自己的用户/通过存储
  2. Tutorial on wiring this all up 有关全部布线的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM