...
Shibboleth SPでの記述例
AAL2を要求する記述例
Apache設定
コード ブロック | ||
---|---|---|
| ||
<Location /restricted-attrviewer/ialaal.php> ShibRequestSetting authnContextClassRef https://www.gakunin.jp/profile/AAL2 </Location> |
IAL2を受信する記述例
PHPコード
コード ブロック | ||
---|---|---|
| ||
$ary = preg_split("/(?<!¥¥¥);/", $_SERVER["assurance"]); foreach ($ary as $val) { if ($val == "https://www.gakunin.jp/profile/IAL2") { .... } } |
AAL2を受信(要求に応えるのはSAML的にMUSTだが念の為)
コード ブロック |
---|
...
| |
| |
if ($_SERVER["Shib-AuthnContext-Class"] == "https://www.gakunin.jp/profile/AAL2") { |
...