-
Notifications
You must be signed in to change notification settings - Fork 0
/
module_metarefresh.php
56 lines (55 loc) · 1.94 KB
/
module_metarefresh.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
$config = [
'sets' => [
'dfntest' => [
'cron' => ['hourly'],
'sources' => [
[
'src' => 'http://www.aai.dfn.de/fileadmin/metadata/dfn-aai-test-metadata.xml',
'certificates' => ['dfn-aai.pem'],
//'validateFingerprint' => 'cbf57ce9e8b1bf2abd0605bd943a0ce505829325',
'template' => [
'tags' => ['dfntest'],
'authproc' => [
50 => [
'class' => 'core:GenerateGroups',
'eduPersonScopedAffiliation',
],
90 => [
'class' => 'saml:FilterScopes',
]
],
],
],
],
'expireAfter' => 60*60*24*4, // Maximum 4 days cache time.
'outputDir' => 'metadata/dfntest/',
'outputFormat' => 'flatfile',
],
'dfn' => [
'cron' => ['hourly'],
'sources' => [
[
'src' => 'http://www.aai.dfn.de/fileadmin/metadata/dfn-aai-basic-metadata.xml',
'certificates' => ['dfn-aai.pem'],
//'validateFingerprint' => 'cbf57ce9e8b1bf2abd0605bd943a0ce505829325',
'template' => [
'tags' => ['dfn'],
'authproc' => [
50 => [
'class' => 'core:GenerateGroups',
'eduPersonScopedAffiliation',
],
90 => [
'class' => 'saml:FilterScopes',
]
],
],
],
],
'expireAfter' => 60*60*24*4, // Maximum 4 days cache time.
'outputDir' => 'metadata/dfn/',
'outputFormat' => 'flatfile',
],
],
];