Skip to content
Snippets Groups Projects
Commit 8e7fb20e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Better default configuration for metarefresh. real life example from Kalmar

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1430 44740490-163a-0410-bde0-09ae8108e29a
parent 88efbc94
No related branches found
No related tags found
No related merge requests found
...@@ -2,22 +2,27 @@ ...@@ -2,22 +2,27 @@
$config = array( $config = array(
'kalmar' => array( 'sets' => array(
'cron' => array('hourly'),
'sources' => array( 'kalmar' => array(
array( 'cron' => array('hourly'),
'src' => 'https://aitta.funet.fi/haka/haka_test_metadata_signed.xml', 'sources' => array(
'certFingerprint' => '22:1D:EA:E3:2C:EB:A3:2D:78:72:B6:F4:E9:52:F6:23:31:5A:A5:3D', array(
'template' => array( 'src' => 'https://kalmar.feide.no/simplesaml/module.php/aggregator/?id=kalmarcentral&mimetype=text/plain&exclude=norway',
'tags' => array('kalmar'), 'certFingerprint' => '591d4b4670463eeda91fcc816dc0af2a092aa801',
'template' => array(
'tags' => array('kalmar'),
'authproc' => array(
51 => array('class' => 'core:AttributeMap', 'oid2name'),
),
),
), ),
), ),
'expireAfter' => 60*60*24*4, // Maximum 4 days cache time.
'outputDir' => 'metadata/metadata-kalmar-consuming/',
), ),
'maxCache' => 60*60*24*4, // Maximum 4 days cache time.
'maxDuration' => 60*60*24*10, // Maximum 10 days duration on ValidUntil.
'outputDir' => 'metadata/metadata-kalmar-consuming/',
), ),
); );
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment