handler.xml ファイルの変更(★)

※NII提供のVMwareイメージ(実習セミナーのものを除く)についてはすでに下記設定は行われております。確認して次に進んでください。

LDAPのデータを用いた ID/パスワード認証の設定を行います。

/opt/shibboleth-idp/conf/handler.xml ファイルを以下のように編集してください。(★)

    <!-- Login Handlers -->
    <!--                ←コメントアウトします
    <ph:LoginHandler xsi:type="ph:RemoteUser">
        <ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</ph:AuthenticationMethod>
    </ph:LoginHandler>
    -->

(省略)

    <!--  Username/password login handler -->  ←こちらを有効にします
    <!-- --> 
    <ph:LoginHandler xsi:type="ph:UsernamePassword"
                  jaasConfigurationLocation="file:///opt/shibboleth-idp/conf/login.config">
        <ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ph:AuthenticationMethod>
    </ph:LoginHandler>
    <!-- -->

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