|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 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().
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 53 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 77 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 46 of file AllowedList.php.