Microsoft CRM 2011 跨域身份验证
我们正在创建一个单独的网站,其内容将通过各种 iframe 与 Microsoft CRM 安装混搭。我们的计划是在我们的网站上使用集成 Windows 身份验证,并将凭据传递给 OrganizationServiceProxy 以访问 CRM。然而,对于 IFD(面向互联网的部署),我们不清楚它是如何工作的。
在 CRM 2011 中,如何将通过 IFD 进行身份验证的用户映射到可用于对 CRM 服务端点进行身份验证的正确 Active Directory 用户?
任何示例/伪代码将不胜感激!
We are creating a separate web site whose contents will mashup with a Microsoft CRM installation through various iframes. Our plan is to utilize Integrated Windows Authentication with our web site and pass credentials to an OrganizationServiceProxy to access CRM. However, for IFD (Internet Facing Deployment) we aren't clear on how this would work.
In CRM 2011 how do you map a user that authenticates through IFD to a proper active directory user that can be used to authenticate into the CRM service endpoint?
Any sample/pseudo code would be much appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 IFD 时,Dynamics CRM 2011 依赖于基于声明的身份验证。在后端它使用ADFS 2.0。
如果您想为您的网站实现单点登录,请查看如何从 ASPX 网页或 IFRAME 实现单点登录。本文还提到了演练:从自定义网页进行单点登录。
基本上,您的网站必须信任与 Dynamics CRM 相同的 STS。
Dynamics CRM 2011 relies on Claims-Based-Authentication when using IFD. At the backend it uses ADFS 2.0.
If you want to achieve Single-Sign-On for your website then take a look at how to Implement Single Sign-on from an ASPX Web Page or IFRAME. This article also mentions the Walkthrough: Single Sign-on from a Custom Web Page.
Basically, your website has to trust the same STS as Dynamics CRM.