【问题标题】:Spring SAML 2.0 : why format attribute of saml:NameID tag is referring to saml 1.1 although we are using saml 2.0Spring SAML 2.0:为什么 saml:NameID 标签的格式属性指的是 saml 1.1,尽管我们使用的是 saml 2.0
【发布时间】:2016-06-09 06:08:30
【问题描述】:

我已经下载了 spring-saml 2.0 上的示例项目。我注意到在 saml:NameID 标记下的 Assertion.xml 文件中,Format 标记指的是 saml 1.1。有人请澄清原因吗?我是 Spring-saml 2.0 的新手,我不知道早期的 saml 版本?

 <saml:Subject>

<saml:NameID NameQualifier="http://idp.ssocircle.com" Format="urn:oasis:names:tc:**SAML:1.1**:nameid-format:emailAddress">test@abc.com</saml:NameID>


<saml:SubjectConfirmation Method="urn:oasis:names:tc:**SAML:2.0**:cm:bearer">

<saml:SubjectConfirmationData Recipient="http://192.168.1.100:8080/spring-security-saml2-sample/saml/SSO" NotOnOrAfter="2016-02-26T05:23:54.000Z" InResponseTo="a37gbidcfgff98de3064i3eij6ee7bj"/>

</saml:SubjectConfirmation>

</saml:Subject>

提前致谢!

【问题讨论】:

    标签: spring-security spring-saml


    【解决方案1】:

    作为先前 SAML 版本的一部分提供的相关常量在 SAML 2.0 中重新使用。这些值是 SAML 2.0 规范的一部分,您可以参考以查找详细信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-25
      • 1970-01-01
      • 1970-01-01
      • 2014-06-02
      相关资源
      最近更新 更多