ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
config-metarefresh.php
Go to the documentation of this file.
1<?php
2
3$config = array(
4
5 /*
6 * Global blacklist: entityIDs that should be excluded from ALL sets.
7 */
8 #'blacklist' = array(
9 # 'http://my.own.uni/idp'
10 #),
11
12 /*
13 * Conditional GET requests
14 * Efficient downloading so polling can be done more frequently.
15 * Works for sources that send 'Last-Modified' or 'Etag' headers.
16 * Note that the 'data' directory needs to be writable for this to work.
17 */
18 #'conditionalGET' => TRUE,
19
20 'sets' => array(
21
22 'kalmar' => array(
23 'cron' => array('hourly'),
24 'sources' => array(
25 array(
26 /*
27 * entityIDs that should be excluded from this src.
28 */
29 #'blacklist' => array(
30 # 'http://some.other.uni/idp',
31 #),
32
33 /*
34 * Whitelist: only keep these EntityIDs.
35 */
36 #'whitelist' => array(
37 # 'http://some.uni/idp',
38 # 'http://some.other.uni/idp',
39 #),
40
41 #'conditionalGET' => TRUE,
42 'src' => 'https://kalmar2.org/simplesaml/module.php/aggregator/?id=kalmarcentral&set=saml2&exclude=norway',
43 'certificates' => array(
44 'current.crt',
45 'rollover.crt',
46 ),
47 'validateFingerprint' => '59:1D:4B:46:70:46:3E:ED:A9:1F:CC:81:6D:C0:AF:2A:09:2A:A8:01',
48 'template' => array(
49 'tags' => array('kalmar'),
50 'authproc' => array(
51 51 => array('class' => 'core:AttributeMap', 'oid2name'),
52 ),
53 ),
54
55 /*
56 * The sets of entities to load, any combination of:
57 * - 'saml20-idp-remote'
58 * - 'saml20-sp-remote'
59 * - 'shib13-idp-remote'
60 * - 'shib13-sp-remote'
61 * - 'attributeauthority-remote'
62 *
63 * All of them will be used by default.
64 *
65 * This option takes precedence over the same option per metadata set.
66 */
67 //'types' => array(),
68 ),
69 ),
70 'expireAfter' => 60*60*24*4, // Maximum 4 days cache time
71 'outputDir' => 'metadata/metadata-kalmar-consuming/',
72
73 /*
74 * Which output format the metadata should be saved as.
75 * Can be 'flatfile' or 'serialize'. 'flatfile' is the default.
76 */
77 'outputFormat' => 'flatfile',
78
79
80 /*
81 * The sets of entities to load, any combination of:
82 * - 'saml20-idp-remote'
83 * - 'saml20-sp-remote'
84 * - 'shib13-idp-remote'
85 * - 'shib13-sp-remote'
86 * - 'attributeauthority-remote'
87 *
88 * All of them will be used by default.
89 */
90 //'types' => array(),
91 ),
92 ),
93);
94
95
96
An exception for terminatinating execution or to throw for unit testing.