且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 SP 元数据中配置自定义属性

更新时间:2023-01-29 23:12:25

没有统一的答案,因为这取决于您使用的 IDP/联盟及其支持的内容.

There is no universal answer as it depends on which IDP/federation you use and what is supported by it.

一般来说,友好名称只是一个人类可读的属性标识符,其值可以***定义.

Generally, the friendly name is just a human-readable identifier for the attribute and the value can be freely defined.

NameFormat 和 Name 是根据您的 IDP 使用的属性配置文件定义的(例如基本配置文件、X.500/LDAP 配置文件等).预期值可以在 SAML 2.0 中找到配置文件第 8 章.

The NameFormat and Name are defined based on Attribute Profile used by your IDP (e.g. Basic profile, X.500/LDAP Profile, ...). The expected values can be found in SAML 2.0 profiles document chapter 8.

您可以找到一个在实践中如何使用它的示例,例如inCommon federation 在他们的文档中.

You can find an example of how this is employed in practice for e.g. inCommon federation in their documentation.