ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CAS_ProxyChain_Any Class Reference

A proxy-chain definition that will match any list of proxies. More...

+ Inheritance diagram for CAS_ProxyChain_Any:
+ Collaboration diagram for CAS_ProxyChain_Any:

Public Member Functions

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

Detailed Description

A proxy-chain definition that will match any list of proxies.

Use this class for quick testing or in certain production screnarios you might want to allow allow any other valid service to proxy your service.

THIS CLASS IS HOWEVER NOT RECOMMENDED FOR PRODUCTION AND HAS SECURITY IMPLICATIONS: YOU ARE ALLOWING ANY SERVICE TO ACT ON BEHALF OF A USER ON THIS SERVICE.

Definition at line 47 of file Any.php.

Member Function Documentation

◆ matches()

CAS_ProxyChain_Any::matches ( array  $list)

Match a list of proxies.

Parameters
array$listThe list of proxies in front of this service.
Returns
bool

Definition at line 57 of file Any.php.

References phpCAS\trace().

58  {
59  phpCAS::trace("Using CAS_ProxyChain_Any. No proxy validation is performed.");
60  return true;
61  }
static trace($str)
This method is used to log something in debug mode.
Definition: CAS.php:599
+ Here is the call graph for this function:

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