【发布时间】:2016-02-29 19:08:44
【问题描述】:
我们正在使用 SiteMinder 对用户进行身份验证,但我们从站点管理器获得的只是标题中的用户身份: ASP.NET Authentication with Siteminder
但是,由于我们使用的是高度信任提供商托管的 SharePoint 应用程序,因此我们可以访问 tokenHelper.cs,但模拟用户需要 System.Security.Principal.WindowsIdentity
我的问题是:
这种情况下如何获取WindowsIdentity?
或
如何扩展 tokenHelper 以仅使用用户身份(不带 windowsIdentity)来模拟用户?
【问题讨论】:
标签: asp.net iis sharepoint siteminder sharepoint-apps