Exchange与ADFS单点登录 PART 6:Exchange声明规则配置

在上一篇中,我们已经完成了在ADFS中添加Exchange的信赖方信任,这一篇我们将接着来分享一下Exchange的声明规则配置。

首先,我们打开ADFS管理单元,然后展开ADFS-信任关系-信赖方信任,选中我们之前创建好的OWA的信赖方信任,然后单击右侧的编辑声明规则。

clip_image001

在颁发转换规则中单击添加规则。

clip_image002

在选择规则模板页,选择使用自定义规则发送声明。

clip_image003

然后在配置规则页,按照以下设置:

声明名称:

ActiveDirectoryUserSID

自定义规则:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]

=> issue(store = "Active Directory", types = ("http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid"), query = ";objectSID;{0}", param = c.Value);

clip_image004

再添加规则第二个规则

声明名称:

ActiveDirectoryUserSID

自定义规则:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]

=> issue(store = "Active Directory", types = ("http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid"), query = ";tokenGroups(SID);{0}", param = c.Value);

clip_image005

再声明第三个规则:

规则名称:

ActiveDirectoryUPN

自定义规则:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]

=> issue(store = "Active Directory", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"), query = ";userPrincipalName;{0}", param = c.Value);

clip_image006

完成之后,我们在颁发转换规则页应该看到三个规则。

clip_image007

到此我们就完成了信赖方信任的转换规则配置,ADFS这边的配置就全部完成了。

你可能感兴趣的:(Exchange,WAP,ADFS,信任声明,信赖方信任)