比較バージョン

キー

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

...

  1. Installation of Shibboleth SP
  2. Deployment of TiqrShib (tar.gz file)
  3. Deployment of  Related Library
  4. Modification of Library
  5. Configuration of Apache
  6. Configuration of TiqrShib handler Handler in Shibboleth
  7. Configuration of Initial Setting of TiqrShib

...

5. Configuration of Apache

Addition in httpd.conf (Add)

コード ブロック
Alias /tiqr/ "/var/tiqrzenddemo/public/"

Addition in ssl.conf (Add)

コード ブロック
<Location /tiqr>
       RewriteEngine On
       RewriteBase /tiqr
       RewriteCond %{REQUEST_FILENAME} -s [OR]
       RewriteCond %{REQUEST_FILENAME} -l [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^.*$ - [NC,L]
       RewriteRule ^.*$ /tiqr/index.php [NC,L]
</Location>

【.htacsess設定】=>作業報告書P22

Remove the following expression in /var/tiqrzenddemo/public/.htaccessの以下を削除htaccess

コード ブロック
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

6. ShibbolethへのTiqrShibハンドラー設定

6. Configuration of TiqrShib Handler in Shibboleth

Generate tiqrshibAuthn.class by compiliing the tiqrshibAuthn.java
Copy the class file in CDのtiqrshibAuthn.javaをコンパイルして、tiqrshibAuthn.classを作成。
  /usr/java/tomcat/webapps/idp/WEB-INF/classes/を作成して配置。
コンパイルは、こんな感じです;
Following is an example of compiling option.

コード ブロック
javac -classpath /usr/java/tomcat/lib/servlet-api.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/shibboleth-common-1.3.0.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/shibboleth-identityprovider-2.3.0.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/shibboleth-jce-1.1.0.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/slf4j-api-1.6.1.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/openws-1.4.2.jar:/root/shibIdP230/shibboleth-identityprovider-2.3.0/lib/xmltooling-1.3.2.jar tiqrshibAuthn.java

Configuration of web.xmlとhandler.xmlの設定。=>作業報告書P38,P39xml and handler.xml
(*) In the handler.xml configuration, UserPassword handler .xmlでの設定は、UserPasswordハンドラーを残したままで、(つまり、コメントアウトしないで、)追加して下さい。should remain. That is, UserPassword handler should not be commented out but it just be added as a new handler. 

/usr/java/tomcat/webapps/idp/WEB-INF/web.xmlを修正。

...