/** * Load config */ private static function load() { if (is_null(self::$config)) { self::$config = Config::get('auth_sp_shibboleth_*'); foreach (array('email_attribute', 'login_url', 'logout_url') as $key) { if (!array_key_exists($key, self::$config)) { throw new ConfigMissingParameterException('auth_sp_shibboleth_' . $key); } } } }