public function setServerProxyValidateURL($url) { // Argument Validation if (gettype($url) != 'string') { throw new CAS_TypeMismatchException($url, '$url', 'string'); } return $this->_server['proxy_validate_url'] = $url; }
/** * Set the proxyValidate URL of the CAS server. * Used for all CAS 2.0 validations * * @param string $url the proxyValidate URL * * @return void */ public static function setServerProxyValidateURL($url = '') { phpCAS::traceBegin(); phpCAS::_validateClientExists(); try { self::$_PHPCAS_CLIENT->setServerProxyValidateURL($url); } catch (Exception $e) { phpCAS::error(get_class($e) . ': ' . $e->getMessage()); } phpCAS::traceEnd(); }