meatwiki メンテナンスのお知らせ

システムメンテナンスのため、7/20(土) 09:00-17:00 は、本Wikiをご利用いただけません。ご不便をおかけいたしますが、ご理解の程、よろしくお願いいたします。

比較バージョン

キー

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

...

・context-check-intercept-config.xmlの修正

/opt/shibboleth-idp/conf/intercept/context-check-intercept-config.

...

xmlにアクセス制限の条件を設定します。
本メニューでは、構築SPについてログイン時のUsernameが「test002」の場合、アクセスできるように設定します。
※SPのentityIDの部分は各自に割り振られたものを用いてください。

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid

<bean id="shibboleth.context-check.Condition" parent="shibboleth.Conditions.AND">
 <constructor-arg>
   <list>
<!--
     <bean parent="shibboleth.Conditions.RelyingPartyId" c:candidates="#{ 'https://sp.example.org' }" />
-->
           <bean parent="shibboleth.Conditions.RelyingPartyId" c:candidates="#{ 'https://ex-sp-test19test01.gakunin.nii.ac.jp/shibboleth-sp' }" />
     <bean class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate">
       <property name="attributeValueMap">
         <map>
<!--
           <entry key="eppn">
-->
           <entry key="eduPersonPrincipalName">
             <list>
<!--
               <value>*</value>
-->
               <value>test002</value>
             </list>
           </entry>
         </map>
       </property>
     </bean>
   </list>
 </constructor-arg>
</bean> 

...