「/root/GETFILE」内の、attribute-resolver.xmlを使用します。 以下のコマンドで、デフォルトのファイルを差し替えます。
# /bin/cp -f /root/GETFILE/attribute-resolver.xml /opt/shibboleth-idp/conf
※ 上記ファイルは学認推奨の18属性がgakuninScopedPersonalUniqueCode以外について全て既設LDAPの内容と整合性をとった形で有効になっています。
また、配布物に含まれない学認で規定している属性を追加します。「/root/GETFILE」内の gakunin-rules.tar.gz を /opt/shibboleth-idp/conf/以下に展開します。(/opt/shibboleth-idp/conf/attributes/custom/以下に*.propertiesを配置)
# tar zxv -C /opt/shibboleth-idp/conf -f gakunin-rules.tar.gz