【问题标题】:How the IdP know the name of the variable that contain the authnRequestIdP 如何知道包含 authnRequest 的变量的名称
【发布时间】:2014-04-29 14:31:45
【问题描述】:

我实现了一个 saml 身份提供者, 服务提供者在隐藏输入中从包含 authnRequest 的 HTML 中发送一个 HTML,该 HTML 具有例如 SAMLRequest 的名称。

<form id="samlRequestId" action="http://localhost:8084/IdentityProvider/SSOService" method="post">
  <input type="hidden" name="RelayState" value="token" />
  <input type="hidden" name="SAMLRequest" value="samlRequestValue"</input> 
</form>

但是IdP是怎么知道这个名字的(SAMLRquest),其实我是硬编码这个名字的,请问有没有其他方法?

【问题讨论】:

    标签: saml saml-2.0 opensaml simplesamlphp


    【解决方案1】:

    属性名称“SAMLRequest”被定义为 SAML 2.0 标准的一部分。您可以在http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf 中找到更多详细信息,在第 3.4 章 HTTP 重定向绑定中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多