芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/auth/cas/CAS/CAS/ProxyChain/Trusted.php
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://wiki.jasig.org/display/CASC/phpCAS */ /** * A proxy-chain definition that defines a chain up to a trusted proxy and * delegates the resposibility of validating the rest of the chain to that * trusted proxy. * * @class CAS_ProxyChain_Trusted * @category Authentication * @package PhpCAS * @author Adam Franco
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://wiki.jasig.org/display/CASC/phpCAS */ class CAS_ProxyChain_Trusted extends CAS_ProxyChain implements CAS_ProxyChain_Interface { /** * Validate the size of the the list as compared to our chain. * * @param array $list list of proxies * * @return bool */ protected function isSizeValid (array $list) { return (sizeof($this->chain) <= sizeof($list)); } }