55 return (count($this->_chains) > 0);
67 $this->_chains[] = $chain;
80 if (empty($proxies)) {
107 foreach ($this->_chains as $chain) {
109 if ($chain->matches($list)) {
An exception for terminatinating execution or to throw for unit testing.
ProxyChain is a container for storing chains of valid proxies that can be used to validate proxied re...
allowProxyChain(CAS_ProxyChain_Interface $chain)
Add a chain of proxies to the list of possible chains.
isProxyListAllowed(array $proxies)
Check if the proxies found in the response match the allowed proxies.
contains(array $list)
Validate the proxies from the proxy ticket validation against the chains that were definded.
isProxyingAllowed()
Check whether proxies are allowed by configuration.
static trace($str)
This method is used to log something in debug mode.
static traceEnd($res='')
This method is used to indicate the end of the execution of a function in debug mode.
static traceBegin()
This method is used to indicate the start of the execution of a function in debug mode.
An interface for classes that define a list of allowed proxies in front of the current application.