开发者

WCF Custom User Identification

开发者 https://www.devze.com 2022-12-22 23:37 出处:网络
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

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

精彩评论

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