开发者

Some WCF Operations require authentication and some don't. How?

开发者 https://www.devze.com 2023-03-15 21:38 出处:网络
I have a开发者_运维知识库 WCF Service that requires a username and password.But not all operations require a username and password.How is this type of authentication achieved (basically on an operatio

I have a开发者_运维知识库 WCF Service that requires a username and password. But not all operations require a username and password. How is this type of authentication achieved (basically on an operation level)?


Authentication is performed on an endpoint basis. If you need two authentication models then you will need two different endpoints. The cleanest approach would be to use two separate service contracts

0

精彩评论

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