如何在WCF服务中获取WindowsIdentity对象 [英] How do i get the WindowsIdentity object in WCF service

查看:58
本文介绍了如何在WCF服务中获取WindowsIdentity对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序是Windows应用程序(智能客户端),并且我有WCF 服务.

My application is windows application(smart client) and i have  WCF services.

应用程序在不同的域(客户环境)中运行,服务在其他域(我们的环境)中托管

application is running in different domain(customer evironement) and service is hosted in some other domain(our environment)

现在的问题是如何从wcf请求中获取安全上下文.(服务端)

Now the problem is how do i get the security context from wcf request.(service end)

请指导我

提前谢谢

阿伦

推荐答案

http://social.msdn.microsoft.com/Forums/vstudio/en-us/d14ce5a6-8428-45f3- 9144-8db87ec099f3/如何更改wcf-40服务器进程标识在webconfig-file-at-windows-xp-iis-v51中的
http://social.msdn.microsoft.com/Forums/vstudio/en-us/d14ce5a6-8428-45f3-9144-8db87ec099f3/how-to-change-wcf-40-server-process-identity-in-webconfig-file-at-windows-xp-iis-v51


这篇关于如何在WCF服务中获取WindowsIdentity对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆