将NameID值编码为String?

时间:2019-08-13 19:48:09

标签: authentication shibboleth

我们正在IdP端使用shibboleth 3,我们需要将eduPersonTargetedID值转换为接收SP的字符串。

在SAML响应中,我们当前正在发送NameID xml元素

SELECT *
FROM (
    SELECT
        title
    FROM
        post
    ORDER BY
        id DESC
)
WHERE ROWNUM <= 50

我们正在努力寻找如何将其编码为字符串值的方法。

我们已经尝试过类似的操作,但是没有结果。

<saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                             NameQualifier="https://idp.example.edu/idp/shibboleth"
                              SPNameQualifier="https://sp.example.com/"
                              >BZbsYQNxBcu6VtY2Sj7ewppEexQ=</saml2:NameID>
    </saml2:AttributeValue>

建议/反馈欢迎。谢谢!

0 个答案:

没有答案
相关问题