我一直在尝试使用 opensaml-java 生成 SAML 对象。
参考:幻灯片 #30 在https://www.oasis-open.org/committees/download.php/12958/SAMLV2.0-basics.pdf
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
ForceAuthn="true"
AssertionConsumerServiceURL="http://www.example.com/"
AttributeConsumingServiceIndex="0" ProviderName="string"
ID="abe567de6"
Version="2.0"
IssueInstant="2005-01-31T12:00:00Z"
Destination="http://www.example.com/"
Consent="http://www.example.com/" >
在这个 Destination 中, Consent , AssertionConsumerServiceURL 三者都代表同一个地址。 他们实际上代表什么?
[Q.1]它们之间有什么区别吗? 肯定有一些区别,否则他们不会拥有这三样东西。
或者如果没有区别,它们代表什么?
编辑 1:AssertionConsumerServiceURL 是 IdP 的登录页面,预计来自 IdP 的断言响应消息。