...
Modification in /var/www/library/tiqr-zf/Tiqr/Resource/Tiqr.php
情報 |
---|
These Some of the bugs seems to be fixed in the trunk version. |
...
コード ブロック |
---|
(Add following statement under the "public static function randomBytes($length)", just before the "if" function.) $strong = false; $rnd = ""; |
Modification and Addition in in /var/tiqrzenddemo/application/configs/application.ini Modification Part (commented lines which start from # have to be removed otherwise it cause error(modify these parameters depending on your environments)
コード ブロック |
---|
# resources.tiqr.identifier = "zeus.local" resources.tiqr.identifier = "vm2.peofiamp.idp.gakunin.nii.ac.jp" # resources.tiqr.name = "Zeusgakunin-test-tiqr" resources.tiqr.namelogoUrl = "vm2" # resources.tiqr.auth.protocol = "surfauth" resources.tiqr.auth.protocol = "tiqrauth" # resources.tiqr.logoUrl = "http://zeus.local/img/surfmediahttps://openidp.nii.ac.jp/images/gakunin-logo.png" resources.tiqr.session.logoUrl secret = "https://vm2.peofiamp.nii.ac.jp/icons/GakuNin_logo.png" # resources.tiqr.session.secret = "enter something truly 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
コード ブロック |
---|
# $this->headScript()->prependFile($this->baseURL().'/scripts/jquery.js')
$this->headScript()->prependFile($this->baseUrl().'/scripts/jquery.js')
|
Modification in /var/tiqrzenddemo/library/tiqr-zf/Tiqr/Controller/Enroll/Abstract.php
...