4

I want to build a custom claim transformation module as per this link. Step 1 and 2 in that article: add references to the System.Web.Security.SingleSignOn.ClaimTransforms.dll and System.Web.Security.SingleSignOn.Authorization.dll assemblies.

I am unable to find these assemblies. I installed WIF and the WIF sdk on my Windows 7 laptop. After that, as per this discussion, I installed ADFS on a Windows 2008 R2 server. However, I could not find the assemblies there either, even when browsing the GAC from a command prompt.

Can somebody please point me in the right direction to locate these assemblies? There does not appear to be an ADFS sdk.

4

2 回答 2

3

好的,我知道了。仅仅安装 ADFS 2.0 下载是不够的。这些程序集可以位于 c:\windows\adfs\bin\ref 中,但只有服务器上启用了 ADFS 服务器角色之后。就我而言,我必须遵循以下步骤:

  • 安装 AD 角色
  • 通过运行 dcpromo.exe 激活域
  • 安装 ADFS 角色

之后,所需的程序集位于另一个问题中提到的文件夹中。将程序集复制到我的 win7 开发机器并在(开发)W2K8r2 环境上运行 VS2010 现在都可以工作。

于 2012-02-01T21:30:52.767 回答
0

示例 claimapp 是为 Windows 2008/(和 R2)附带的 ADFS 编写的。正如 MS 页面中的一条评论所述,它不适用于 ADFS2.0。库存 ADFS 作为角色启用,而 ADFS2.0 是单独安装 - 它们使用不同的方法(路径)来查找程序集模块。ADFS2.0 可以自己工作 - 它不需要添加 ADFS 角色。

于 2015-10-27T13:20:01.940 回答