比較バージョン

キー

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

shibboleth2.xml ファイル(★)

1.entityIDを設定します。(★)

/etc/shibboleth/shibboleth2.xml ファイルを以下のように編集してください。

...

展開
titleバージョン2.3.xおよびそれ以前の場合
パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
※「<Host name="sp.example.org">」を検索し、場所を特定してください。(行番号は参考です)
68 <Host name="example-sp.nii.ac.jp">
          ↑ホスト名変更
69     <Path name="secure" authType="shibboleth" requireSession="true"/>
70 </Host>
   (省略)
83 <ApplicationDefaults id="default" policyId="default" 
84     entityID="https://example-sp.nii.ac.jp/shibboleth-sp"
               ↑ホスト名変更        ↑後ろに「-sp」追記
85     REMOTE_USER="eppn persistent-id targeted-id"
86     signing="false" encryption="false">

※端末のサイズによっては表記がずれる可能性がございます。画面を広くしてご覧ください。 

 

2.DSサーバの参照設定を行います。(★)

/etc/shibboleth/shibboleth2.xml ファイルを以下のように編集してください。

...

展開
titleバージョン2.3.xおよびそれ以前の場合
パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
※「Default example directs」を検索し、場所を特定してください。(行番号は参考です)
108 <!-- Default example directs to a specific IdP's SSO service (favoring SAML 2 over Shib 1). -->
109 <SessionInitiator type="Chaining" Location="/Login" isDefault="false" id="Intranet"
                                  ↑変更(false:直接IdPサーバを参照しない)
110     relayState="cookie" entityID="https://idp.example.org/idp/shibboleth">
111     <SessionInitiator type="SAML2" defaultACSIndex="1" template="bindingTemplate.html"/>
112     <SessionInitiator type="Shib1" defaultACSIndex="5"/>
113 </SessionInitiator>
   (省略)
122 <!-- An example supporting the new-style of discovery service. -->
123 <SessionInitiator type="Chaining" Location="/DS" isDefault="true" id="DS" relayState="cookie">
                                ↑追加(true:DSサーバを参照する)
124     <SessionInitiator type="SAML2" defaultACSIndex="1" template="bindingTemplate.html"/>
125     <SessionInitiator type="Shib1" defaultACSIndex="5"/>
126     <SessionInitiator type="SAMLDS" URL="https://example-ds.nii.ac.jp/ds/WAYF"/>
                                ↑DSサーバの設定
127 </SessionInitiator>

 ※端末のサイズによっては表記がずれる可能性がございます。画面を広くしてご覧ください。 

 

3.メタデータの自動更新設定を行います。(★)

・証明書を格納するディレクトリを作成します。(★)

...