开发者

WCF Custom User Identification

I'm creating a server/client solution with custom user logins (not WindowsIdentity). I need a way to transfer the identification over WCF from the client to the server. This is done after the user is authenticated and authorized by the server. I don'开发者_运维知识库t want to have the username as a parameter on the service call. I know I can use MessageInspector to add the username to the header, but isn't there another and better way doing this?

Hope I have made my self clear enough.

Best regards, Michael


You may want to look into Claims-based Identity using Windows Identity Foundation (WIF).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜