|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
ProxyChain is a container for storing chains of valid proxies that can be used to validate proxied requests to a service. More...
Collaboration diagram for CAS_ProxyChain_AllowedList: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 64 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 102 of file AllowedList.php.
References $list, phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Referenced by isProxyListAllowed().
Here is the call graph for this function:
Here is the caller graph for this function:| CAS_ProxyChain_AllowedList::isProxyingAllowed | ( | ) |
Check whether proxies are allowed by configuration.
Definition at line 52 of file AllowedList.php.
Referenced by isProxyListAllowed().
Here is the caller graph for this function:| 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 76 of file AllowedList.php.
References $res, contains(), isProxyingAllowed(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
Here is the call graph for this function:
|
private |
Definition at line 45 of file AllowedList.php.