添付ファイル |
---|
CD内のtiqrshib20130329.tar.gzを利用したtiqrshibのインストールについて。
...
relying-party.xmlに下記を設定。
コード ブロック |
---|
<rp:DefaultRelyingParty provider="https://IdPサーバ/idp/shibboleth" defaultSigningCredentialRef="IdPCredential" defaultAuthenticationMethod="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport"> |
(2) IdPサーバのSPの設定
shibboleth2.xmlへのSessionInitiator追加
...
application/Bootstrap.phpに初期値読み込みを設定。(=>作業報告書P34)
コード ブロック |
---|
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
// retrieve tiqrshib constants
protected function _initConstants()
{
$options = $this->getOption('constants');
if (is_array($options)) {
foreach($options as $key => $value) {
if(!defined($key)) {
define($key, $value);
}
}
}
}
protected function _initLogger() {
$this->bootstrap("log");
$logger = $this->getResource("log");
Zend_Registry::set("logger", $logger);
}
}
|
...