使用与 EWS(交换 Web 服务)的集成身份验证
我正在建立公司内部网。其中一个请求是与 Exchange Server 2007 进行一些集成。
在我的测试中,只要我传递用户名和密码,我就可以使用 NetworkCredential 向 EWS 进行身份验证。在我们的内联网中,我想传递登录用户的凭据。我们将仅使用 Windows 集成身份验证。
我似乎无法正常工作 - 将 ExchangeServiceBinding 中的凭据设置为 CredentialCache.DefaultCredentials 不起作用。
来自 Web 服务器的 .net 和 IIS 6 Windows 2003 服务器上的 Exchange 2007
有什么想法吗?谢谢。
I'm in the process of setting up a company intranet. One of the requests is to do some intregration with Exchange Server 2007.
In my tests I can authenticate to EWS just fine using NetworkCredential, as long as I'm passing in my username and password. In our intranet, I'd like to pass on the credientials of the logged in user. We'll be using windows integrated authentication only.
I can't seem to get this working - setting the credentials in the ExchangeServiceBinding to CredentialCache.DefaultCredentials didn't work.
.net and IIS 6 from the web server
Exchange 2007 on Windows 2003 server
Any ideas? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 serverfault 上找到了答案:
https://serverfault.com/questions/ 73508/using-integrated-authentication-with-ews-exchange-web-services
Found an answer on serverfault:
https://serverfault.com/questions/73508/using-integrated-authentication-with-ews-exchange-web-services