diff options
Diffstat (limited to 'shib_secondary/remote/config.php')
-rw-r--r-- | shib_secondary/remote/config.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/shib_secondary/remote/config.php b/shib_secondary/remote/config.php new file mode 100644 index 0000000..52f6460 --- /dev/null +++ b/shib_secondary/remote/config.php @@ -0,0 +1,36 @@ +<?php + +// This might leak sensitive information. Never enable in production! +define('CONFIG_DEBUG', (bool)preg_match('/^(132\.230\.8|10\.8\.8)\./', $_SERVER['REMOTE_ADDR'])); +define('CONFIG_PREFIX', '/webif/'); +define('CONFIG_SESSION_TIMEOUT', 86400 * 7); +define('CONFIG_FORCE_DOMAIN', '%DOMAIN%'); +define('CONFIG_ENTITLEMENT', ';http://bwidm.de/entitlement/bwLehrpool;'); +define('CONFIG_SUITE', 'bwLehrpool'); +define('CONFIG_HELPURL', 'www.bwlehrpool.de'); +define('CONFIG_HELPMAIL', 'info@bwlehrpool.de'); +define('CONFIG_FOOTER_SUPPORT', '//www.bwlehrpool.de/'); +define('CONFIG_MASTERWEBIF', 'https://%DOMAIN%/webif/'); +define('CONFIG_IDM', 'bwIDM'); +define('CONFIG_PROVIDER', 'Universität Freiburg'); + +define('CONFIG_ADMINS', serialize(array('5fb22037697816a70a847d15245c9f88', + '94e48d34587ab9963a2013ddc97e1e45', 'fb91f270a95a5b006be916f2b2da305c', '4abe094e4e0c89e5cc2e9106270b4aed'))); + +define('CONFIG_IDM_LINK_SN', 'https://www.bwidm.de/attribute.php#Nachname'); +define('CONFIG_IDM_LINK_GIVENNAME', 'https://www.bwidm.de/attribute.php#Vorname'); +define('CONFIG_IDM_LINK_MAIL', 'https://www.bwidm.de/attribute.php#E-Mail-Adresse'); +define('CONFIG_IDM_LINK_PID', 'https://www.bwidm.de/attribute.php#Persistant%20ID'); +define('CONFIG_IDM_LINK_EPSA', 'https://www.bwidm.de/attribute.php#Zugeh%C3%B6rigkeit'); + +define('CONFIG_SURNAME', 'sn'); +define('CONFIG_EPPN', 'eppn'); +define('CONFIG_SCOPED_AFFILIATION', 'affiliation'); +define('CONFIG_ALLOW_SHIB_MERGE', true); + +define('CONFIG_SQL_DSN', "mysql:dbname=bwlp;host=localhost"); +define('CONFIG_SQL_USER', 'bwlp'); +define('CONFIG_SQL_PASS', 'geheim'); +define('CONFIG_SQL_FORCE_UTF8', true); + +define('CONFIG_READ_ONLY', true); |