ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
ProxyChain is a container for storing chains of valid proxies that can be used to validate proxied requests to a service. More...
Public Member Functions | |
isProxyingAllowed () | |
Check whether proxies are allowed by configuration. More... | |
allowProxyChain (CAS_ProxyChain_Interface $chain) | |
Add a chain of proxies to the list of possible chains. More... | |
isProxyListAllowed (array $proxies) | |
Check if the proxies found in the response match the allowed proxies. More... | |
contains (array $list) | |
Validate the proxies from the proxy ticket validation against the chains that were definded. More... | |
Private Attributes | |
$_chains = array() | |
ProxyChain is a container for storing chains of valid proxies that can be used to validate proxied requests to a service.
Definition at line 43 of file AllowedList.php.
CAS_ProxyChain_AllowedList::allowProxyChain | ( | CAS_ProxyChain_Interface | $chain | ) |
Add a chain of proxies to the list of possible chains.
CAS_ProxyChain_Interface | $chain | A chain of proxies |
Definition at line 65 of file AllowedList.php.
CAS_ProxyChain_AllowedList::contains | ( | array | $list | ) |
Validate the proxies from the proxy ticket validation against the chains that were definded.
array | $list | List of proxies from the proxy ticket validation. |
Definition at line 103 of file AllowedList.php.
References phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by isProxyListAllowed().
CAS_ProxyChain_AllowedList::isProxyingAllowed | ( | ) |
Check whether proxies are allowed by configuration.
Definition at line 53 of file AllowedList.php.
Referenced by isProxyListAllowed().
CAS_ProxyChain_AllowedList::isProxyListAllowed | ( | array | $proxies | ) |
Check if the proxies found in the response match the allowed proxies.
array | $proxies | list of proxies to check |
Definition at line 77 of file AllowedList.php.
References $res, contains(), isProxyingAllowed(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
Definition at line 46 of file AllowedList.php.