开发者

WCF Message Security implementation with custom attributes

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜