are used for the check but also the hostnames // of the assertion consumer URLs. The hostnames are compared against the // hostname used in the return parameter // This feature is especially useful in case metadata doesn't contain the // extension. However, enabling this feature also // reduces the security of the check. // This feature only is active if $enableDSReturnParamCheck = true // and if $useSAML2Metadata = true $useACURLsForReturnParamCheck = false; // Whether to turn on Kerberos support for IdP preselection $useKerberos = false; // If true, the users IP is used for a reverse DNS lookup whose // resulting domain name then is matched with the URN values of the IdPs $useReverseDNSLookup = false; // Whether the JavaScript for embedding the WAYF // on a remote site shall be generated or not $useEmbeddedWAYF = true; // Whether to enable logging of WAYF/DS requests // If turned on make sure to also configure $WAYFLogFile $useLogging = true; // Whether or not to add the entityID of the preselected IdP to the // exported JSON/Text/PHP Code // You have to be aware that if this value is set to true, any web page // in the world can easily find out with a high probability from which // organization a user is from. This could be misused for various kinds of // things and even for phishing attacks. Therefore, only enable this feature // if you know what you are doing! $exportPreselectedIdP = false; // Look&feel settings //******************* // Name of the federation $federationName = 'SWITCHaai Federation'; // URL to send user to when clicking on federation logo $federationURL = 'http://www.switch.ch/aai/'; // Use an absolute URL in case you want to use the embedded WAYF $imageURL = 'https://'.$_SERVER['SERVER_NAME'].'/SWITCHaai/images'; // URL to the logo that shall be displayed $logoURL = $imageURL.'/switch-aai-transparent.png'; // URL to the small logo that shall be displayed in the embedded WAYF if dimensions are small $smallLogoURL = $imageURL.'/switch-aai-transparent-small.png'; // Involved files settings //************************ // Set both config files to the same value if you don't want to use the // the WAYF to read a (potential) automatically generated file that undergoes // some plausability checks before being used $IDPConfigFile = 'IDProvider.conf.php'; // Config file $backupIDPConfigFile = 'IDProvider.conf.php'; // Backup config file // Use $metadataFile as source federation's metadata. $metadataFile = '/etc/shibboleth/metadata.switchaai.xml'; // File to store the parsed IdP list // Will be updated automatically if the metadataFile modification time // is more recent than this file's // The user running the script must have permission to create $metadataIdpFile $metadataIDPFile = 'IDProvider.metadata.php'; // File to store the parsed SP list. // Will be updated automatically if the metadataFile modification time // is more recent than this file's // The user running the script must have permission to create $metadataIdpFile $metadataSPFile = 'SProvider.metadata.php'; // A Kerboros-protected soft link back to this script! $kerberosRedirectURL = '/SWITCHaai/kerberosRedirect.php'; // Where to log the access // Make sure the web server user has write access to this file! $WAYFLogFile = '/var/log/apache2/wayf.log'; // Development mode settings //************************** // If the development mode is activated, PHP errors and warnings will be displayed $developmentMode = false; ?>