...
Form SessionInitiator(discoveryTemplate.html)を使って実現する方法があります。
GakuNinShare:設定・運用・カスタマイズ#学認外のIdPを選択できるようにする方法 に従って設定してください。ただし、追加IdPについての部分は読み飛ばしてください。
実験段階で使用していた方向けの変更点
shibboleth2.xmlの設定
実験段階で利用していた、
https://ds.gakunin.nii.ac.jp/WAYF2
のエンドポイントは、2011年12月1日をもって停止しましたので、このように設定されている場合は、標準設定の
https://ds.gakunin.nii.ac.jp/WAYF
に戻してください。
Webアプリケーション側の設定
展開 | ||
---|---|---|
| ||
2 <!-- EMBEDDED-WAYF-START --> 3 <script type="text/javascript"><!-- 4 // To use this JavaScript, please access: 5 // https://ds.gakunin.nii.ac.jp/WAYF2/index.php/embedded-wayf.js/snippet.html 6 // and copy/paste the resulting HTML snippet to an unprotected web page that 7 // you want the embedded WAYF to be displayed ... 12 // URL of the WAYF to use 13 // Examples: "https://wayf.switch.ch/SWITCHaai/WAYF", "https://wayf-test.switch.ch/aaitest/WAYF"; 14 // [Mandatory] 15 var wayf_URL = "https://ds.gakunin.nii.ac.jp/WAYF2/index.php"; ... 259 <script type="text/javascript" charset="UTF-8"><!-- 260 document.write('<script type="text/javascript" src="https://ds.gakunin.nii.ac.jp/WAYF2/index.php/embedded-wayf.js?' + (new Date().getTime()) + '"></scr'+'ipt>'); 261 //--> 262 </script> |