如何使用UsernameToken和用户名密码以及密码/ @Type在WCfRest服务中实现自定义安全性。 [英] How to implement custom security in WCfRest Service with UsernameToken and username password and Password/@Type.

查看:127
本文介绍了如何使用UsernameToken和用户名密码以及密码/ @Type在WCfRest服务中实现自定义安全性。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我使用C#创建了WcfRestService,它返回了一些客户详细信息。现在我想实现带有安全令牌和用户名和密码的自定义soap标头,以验证每个请求。



因为我是WCF的新手所以请帮我实现WCF中的自定义安全性,我可以通过它验证每个请求。



提前谢谢。

Hi to all,

I have created WcfRestService using C# which returns the some set of costumer detail. Now i want to implement custom soap header with security token and username and password in requst to Authenticate each request.

As i am new in WCF so please help me to implement custom security in WCF by which i can authenticate each request.

Thanks in advance.

推荐答案

你需要扩展WCF服务以实现自定义检查。可能以下将有所帮助

WCF REST服务上的基本身份验证
You need to extend WCF service to implement custom checking..may be the following will be helpful
Basic Authentication on a WCF REST Service


这篇关于如何使用UsernameToken和用户名密码以及密码/ @Type在WCfRest服务中实现自定义安全性。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆