比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

ログアウトボタンが押され,アプリケーション側のログアウト処理を終えた後に,Shibboleth.sso/Logoutにリダイレクトし,SP のLogoutInitiatorを動作させます.returnパラメータを設定することで,ログアウト後のリダイレクト先を指定できます.

注意

なお、returnパラメータについてデフォルトでは制限がかかっておりませんので、以下の手順を参考に制限することをお勧めします。
GakuNinShare - 設定・運用・カスタマイズ - オープンリダイレクタとなりうる問題の対処

例:

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
https://attrviewer20.gakunin.nii.ac.jp/Shibboleth.sso/Logout?return=http...

...

下記のようにtype=”SAML2”のLogoutInitiatorをコメントアウトすることで,IdP側で対応していないグローバルログアウトを実行させない設定にします.type=”Local”がローカルログアウトのための処理を実行し,当該SPに関するログインセッションを削除します.アプリケーション側で,Shibboleth.sso/Logoutへのリダイレクト時にreturnパラメータが設定されていない場合は,localLogout.htmlが表示されます.

展開
titleバージョン2.4以降でLogoutInitiatorが定義されていない場合
パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
            <!-- SAML and local-only logout. -->
            <!--
             <Logout>SAML2 Local</Logout>
            -->
             <Logout>Local</Logout>
展開
title「LogoutInitiator」が定義されている場合
パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
             <!-- LogoutInitiators enable SP-initiated local or global/single logout of sessions. -->
            <LogoutInitiator type="Chaining" Location="/Logout" relayState="cookie">
                <!--  
                <LogoutInitiator type="SAML2" template="bindingTemplate.html"/>
                --> 
                <LogoutInitiator type="Local"/>
            </LogoutInitiator>
展開
titleバージョン2.4以降でLogoutInitiatorが定義されていない場合
パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
            <!-- SAML and local-only logout. -->
            <!--
             <Logout>SAML2 Local</Logout>
            -->             <Logout>Local</Logout>

 

参考:https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLogoutInitiator
関連するQ&A: [Shib-Users] Questions about the Logout initiator redirect(Shibboleth Usersメーリングリスト内)

...