比較バージョン

キー

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

...

Modification of Tiqr,Tiqr-zf

Following modification is required Modification in /var/www/library/tiqr-zf/Tiqr/Resource/Tiqr.php

コード ブロック
# require_once "Tiqr/Server.php";
require_once "Tiqr/Service.php";

Following modifications are required Modification in /var/www/library/tiqr-zf/Tiqr/Controller/Login/Abstract.php

コード ブロック
# case Tiqr_Server::AUTH_RESULT_AUTHENTICATED:
case Tiqr_Service::AUTH_RESULT_AUTHENTICATED:
# case Tiqr_Server::AUTH_RESULT_INVALID_CHALLENGE:
case Tiqr_Service::AUTH_RESULT_INVALID_CHALLENGE:
# case Tiqr_Server::AUTH_RESULT_INVALID_REQUEST:
case Tiqr_Service::AUTH_RESULT_INVALID_REQUEST:
# case Tiqr_Server::AUTH_RESULT_INVALID_RESPONSE:
case Tiqr_Service::AUTH_RESULT_INVALID_RESPONSE:
# case Tiqr_Server::AUTH_RESULT_INVALID_USERID:
case Tiqr_Service::AUTH_RESULT_INVALID_USERID:

Addition in /var/www/library/libTiqr/Tiqr/Random.php 追記(27ページ)

コード ブロック
(Add following under the "public static function randomBytes($length)以下に追記")
   $strong = false;
   $rnd = "";

Modification and Addition in /var/tiqrzenddemo/application/configs/application.ini 修正および追記(28ページ:提供コードで修正済)

Modification Part (commented lines which start from # have to be removed otherwise it cause error)     ・修正箇所 (実際の修正時には、コメント行= "#"の付いた行は、エラーとなるので削除してください。)

コード ブロック
# resources.tiqr.identifier = "zeus.local"
resources.tiqr.identifier = "vm2.peofiamp.nii.ac.jp"
# resources.tiqr.name = "Zeus"
resources.tiqr.name = "vm2"
# resources.tiqr.auth.protocol = "surfauth"
resources.tiqr.auth.protocol = "tiqrauth"
# resources.tiqr.logoUrl  = "http://zeus.local/img/surfmedia-logo.png"
resources.tiqr.logoUrl  = "https://vm2.peofiamp.nii.ac.jp/icons/GakuNin_logo.png"
# resources.tiqr.session.secret = "enter something truly random here, preferably generated using openssl"
resources.tiqr.session.secret = "0124567abcdefgh"

     ・追記箇所Addition Part

コード ブロック
\# (Add following under the 'resources.tiqr.userstorage.path = "/tmp" 以下に追記')
resources.tiqr.ocra.suite = "OCRA-1:HOTP-SHA1-6:QH10"
resources.log.stream.writerName = "Stream"
resources.log.stream.writerParams.stream = APPLICATION_PATH "/logs/application_" DATESTAMP ".log"
resources.log.stream.writerParams.mode = "a"
resources.log.stream.filterName = "Priority"
resources.log.stream.filterParams.priority = 7

Modification in /var/tiqrzenddemo/application/modules/v1/views/scripts/login/index.phtml 修正(29ページ)

コード ブロック
# $this->headScript()->prependFile($this->baseURL().'/scripts/jquery.js')
$this->headScript()->prependFile($this->baseUrl().'/scripts/jquery.js')

...