setServerProxyValidateURL() public method

This method sets the proxyValidate URL of the CAS server.
public setServerProxyValidateURL ( string $url ) : string
$url string the proxyValidate URL
return string proxyValidate URL
Beispiel #1
0
 /**
  * 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();
 }