开发者

WCF Message Security implementation with custom attributes

开发者 https://www.devze.com 2022-12-30 04:17 出处:网络
How can i implement message security in WCF with custom attributes, One way of doing this by UserNamePasswordValidator which accepts user name and password

How can i implement message security in WCF with custom attributes,

One way of doing this by UserNamePasswordValidator which accepts user name and password but in my case I have to pass 2 more attribute that is company and region to authentic开发者_开发技巧ate the user.

Please suggest the solution for achieving this.


Stop re-inventing the wheel! This has already been done - see:

Foundations: Declarative WCF Security

Excellent article, comes with full source code for you to use and adapt (if needed).

0

精彩评论

暂无评论...
验证码 换一张
取 消