1. 程式人生 > >單點退出 SLO

單點退出 SLO

單點退出

當 CAS 伺服器 /cas/logout 被呼叫,伺服器給所有客戶端傳送包含 ticket 資訊的 XML 的文字
客戶端收到訊息,登出 ticket 和 session

訊息格式:

<samlp:LogoutRequest
    xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
    xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
    ID="[RANDOM ID]"
    Version="2.0"
    IssueInstant="[CURRENT DATE/TIME]">
    <saml:NameID>@
[email protected]
</saml:NameID> <samlp:SessionIndex>[SESSION IDENTIFIER]</samlp:SessionIndex> </samlp:LogoutRequest>