IDProvider.conf.dist.php 2.9 KB
Newer Older
Lukas Haemmerle's avatar
Lukas Haemmerle committed
1
<?php // Copyright (c) 2018, SWITCH
2

haemmer's avatar
haemmer committed
3 4
// WAYF Identity Provider Configuration file

5
// Find below some example entries of Identity Providers, categories and 
haemmer's avatar
haemmer committed
6 7 8
// cascaded WAYFs
// The keys of $IDProviders must correspond to the entityId of the 
// Identity Providers or a unique value in case of a cascaded WAYF/DS or 
9 10
// a category. In the case of a category, the key must correspond to the the 
// Type value of Identity Provider entries.
haemmer's avatar
haemmer committed
11 12
// The sequence of IdPs and SPs play a role. No sorting is done.
// 
13
// Please read the file DOC for information on the format of the entries
haemmer's avatar
haemmer committed
14 15 16

// Category
$IDProviders['university'] = array (
17 18
        'Type' => 'category',
        'Name' => 'Universities',
haemmer's avatar
haemmer committed
19 20 21
);


22 23 24
$IDProviders['https://test-uni1.example.org/idp/shibboleth'] = array(
        'SSO' => 'https://test-uni1.example.org/idp/profile/Shibboleth/SSO',
        'Name' => 'Test University 1',
haemmer's avatar
haemmer committed
25
        'Type' => 'university',
haemmer's avatar
haemmer committed
26 27
);

28 29 30 31 32
$IDProviders['https://test-uni2.example.org/idp/shibboleth'] = array(
        'SSO' => 'https://test-uni1.example.org/idp/profile/Shibboleth/SSO',
        'Name' => 'Test Universit&auml;t 2',
        'de' => array ('Name' => 'Test Universit&auml;t 2'),
        'en' => array ('Name' => 'Test University 2'),
haemmer's avatar
haemmer committed
33
        'Type' => 'university',
34
        'IP' => array ('193.166.2.0/24','129.132.0.0/16'),
haemmer's avatar
haemmer committed
35 36
);

37 38 39
$IDProviders['https://test-uni3.example.org/idp/shibboleth'] = array(
        'SSO' => 'https://test-uni3.example.org/idp/profile/Shibboleth/SSO',
        'Name' => 'Test University 3',
haemmer's avatar
haemmer committed
40
        'Type' => 'university',
41
        'Realm' => 'example.org',
haemmer's avatar
haemmer committed
42
        'en' => array ('Keywords' => 'Zurich Irchel+Park'),
haemmer's avatar
haemmer committed
43 44 45 46 47
);


// Category
$IDProviders['vho'] = array (
48 49
        'Type' => 'category',
        'Name' => 'Virtual Home Organizations',
haemmer's avatar
haemmer committed
50 51 52
);

// An example of a configuration with multiple network blocks and multiple languages 
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
$IDProviders['https://vho.example.org/idp/shibboleth'] = array (
        'Type' => 'vho',
        'Name' => 'Virtual Home Organisation',
        'en' => array (
            'Name' => 'Virtual Home Organisation',
            'Keywords','Zurich Switzerland',
            ),
        'de' => array (
            'Name' => 'Virtuelle Home Organisation',
            'Keywords','Zrich Schweiz',
            ),
        'fr' => array ('Name' => 'Home Organisation Virtuelle'),
        'it' => array ('Name' => 'Virtuale Home Organisation'),
        'IP' => array ('130.59.6.0/16','127.0.0.0/24'),
        'SSO' => 'https://vho.example.org/idp/profile/Shibboleth/SSO',
haemmer's avatar
haemmer committed
68 69 70 71
);

// Example of an IDP you want not to be displayed when IDPs are parsed from
// a metadata file and SAML2MetaOverLocalConf is set to false
72
//$IDProviders['https://test-uni3.example.org/idp/shibboleth'] = '-';
haemmer's avatar
haemmer committed
73 74 75


// Category
haemmer's avatar
haemmer committed
76
$IDProviders['unknown'] = array (
77 78 79 80 81
        'Type' => 'category',
        'Name' => 'Others',
        'de' => array ('Name' => 'Andere'),
        'fr' => array ('Name' => 'Autres'),
        'it' => array ('Name' => 'Altri'),
haemmer's avatar
haemmer committed
82
);