ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
CAS_ProxyChain_Trusted Class Reference

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. More...

+ Inheritance diagram for CAS_ProxyChain_Trusted:
+ Collaboration diagram for CAS_ProxyChain_Trusted:

Protected Member Functions

 isSizeValid (array $list)
 Validate the size of the the list as compared to our chain. More...
 
- Protected Member Functions inherited from CAS_ProxyChain
 isSizeValid (array $list)
 Validate the size of the the list as compared to our chain. More...
 

Additional Inherited Members

- Public Member Functions inherited from CAS_ProxyChain
 __construct (array $chain)
 A chain is an array of strings or regexp strings that will be matched against. More...
 
 matches (array $list)
 Match a list of proxies. More...
 
- Public Member Functions inherited from CAS_ProxyChain_Interface
 matches (array $list)
 Match a list of proxies. More...
 
- Protected Attributes inherited from CAS_ProxyChain
 $chain = array()
 

Detailed Description

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.

Definition at line 42 of file Trusted.php.

Member Function Documentation

◆ isSizeValid()

CAS_ProxyChain_Trusted::isSizeValid ( array  $list)
protected

Validate the size of the the list as compared to our chain.

Parameters
array$listlist of proxies
Returns
bool

Definition at line 54 of file Trusted.php.

55  {
56  return (sizeof($this->chain) <= sizeof($list));
57  }
if(isset($_REQUEST['delete'])) $list
Definition: registry.php:41

The documentation for this class was generated from the following file: