ADFS属性的用户友好名称

时间:2017-01-03 17:35:22

标签: attributes adfs

我的应用程序正在接收SSO配置的属性,这些属性在xml中正确打包并且在SAML响应中并且具有正确的值但名称过长且不友好。

实施例: 为AttributeName = “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress” 的AttributeValue = “fred.bloggs@enterprise.COM”

名称= “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname” AttributeValue =“Fred Bloggs”

我可以向ADFS管理员提供哪些建议以帮助获取用户友好名称? 例如“emailaddress”而不是 http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

1 个答案:

答案 0 :(得分:1)

在.NET世界中,ClaimType Class是你的朋友,所以你不必处理实际的URI。