2.6.1 元素<Advice>
本博客采用知识共享署名 4.0 国际许可协议进行许可
<Advice>元素中包含了SAML断言方希望提供的额外的信息。应用程序可以忽略此信息,而不会影响语义或断言的有效性。
译者(义臻)注:应用程序通常指依赖方。
<Advice>元素包含零个或多个元素的混合,这些元素包括<Assertion>元素、<EncryptedAssertion>元素、<AssertionIDRef>元素、<AssertionURIRef>元素、以及其他由非SAML命名空间中的命名空间限定的元素。
以下是<Advice>元素的一些潜在用途:
包含对所提出的断言主张的证明,或直接(通过包含断言主张的方式),或间接(通过引用支持的断言的方式)
陈述对断言主张的证明
指定更新断言的时间点和分发点
下列的schema片段定义了<Advice>元素以及它的AdviceType
复杂类型:
<element name="Advice" type="saml:AdviceType"/>
<complexType name="AdviceType">
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="saml:AssertionIDRef"/>
<element ref="saml:AssertionURIRef"/>
<element ref="saml:Assertion"/>
<element ref="saml:EncryptedAssertion"/>
<any namespace="##other" processContents="lax"/>
</choice>
</complexType>
Last updated
Was this helpful?