【发布时间】:2016-03-28 13:22:11
【问题描述】:
我正在运行 Shibboleth SP(2.4.3 版),我的 attribute-map.xml 包含“邮件”的默认映射
<!-- email -->
<Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
<Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
客户正在使用非 Shibboleth IdP,他们无法将 NameFormat 定义为 urn:oasis:names:tc:SAML:2.0:attrname-format:basic 以外的任何内容。
根据 Shibboleth wiki,如果 IdP 使用 urn:oasis:names:tc:SAML:2.0:attrname-format:uri 或 urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified 以外的 NameFormat,那么我必须在我自己的 attribute-map.xml 中定义 NameFormat。
我可以/应该添加第三个具有相同名称但定义了“基本”名称格式的属性节点吗?我不想破坏我与以标准 Shibboleth 方式做事的客户的现有集成。
<!-- email -->
<Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
<Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
<Attribute name="urn:mace:dir:attribute-def:mail" id="mail" nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"/>
【问题讨论】:
标签: shibboleth