ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CAS client features (CAS 2.0, Proxied service)
+ Collaboration diagram for CAS client features (CAS 2.0, Proxied service):

Functions

 CAS_Client::getProxies ()
 Answer an array of proxies that are sitting in front of this application. More...
 
 CAS_Client::_setProxies ($proxies)
 Set the Proxy array, probably from persistant storage. More...
 
 CAS_Client::getAllowedProxyChains ()
 Answer the CAS_ProxyChain_AllowedList object for this client. More...
 

Variables

 CAS_Client::$_proxies = array()
 This array will store a list of proxies in front of this application. More...
 
 CAS_Client::$_allowed_proxy_chains
 

Detailed Description

Function Documentation

◆ _setProxies()

CAS_Client::_setProxies (   $proxies)
private

Set the Proxy array, probably from persistant storage.

Parameters
array$proxiesAn array of proxies
Returns
void private

Definition at line 3203 of file Client.php.

References CAS_Client\setNoClearTicketsFromUrl().

Referenced by CAS_Client\_wasPreviouslyAuthenticated().

3204  {
3205  $this->_proxies = $proxies;
3206  if (!empty($proxies)) {
3207  // For proxy-authenticated requests people are not viewing the URL
3208  // directly since the client is another application making a
3209  // web-service call.
3210  // Because of this, stripping the ticket from the URL is unnecessary
3211  // and causes another web-service request to be performed. Additionally,
3212  // if session handling on either the client or the server malfunctions
3213  // then the subsequent request will not complete successfully.
3214  $this->setNoClearTicketsFromUrl();
3215  }
3216  }
setNoClearTicketsFromUrl()
Configure the client to not send redirect headers and call exit() on authentication success...
Definition: Client.php:647
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAllowedProxyChains()

CAS_Client::getAllowedProxyChains ( )

Answer the CAS_ProxyChain_AllowedList object for this client.

Returns
CAS_ProxyChain_AllowedList

Definition at line 3230 of file Client.php.

References CAS_Client\$_allowed_proxy_chains.

Referenced by CAS_Client\validateCAS20().

3231  {
3232  if (empty($this->_allowed_proxy_chains)) {
3233  $this->_allowed_proxy_chains = new CAS_ProxyChain_AllowedList();
3234  }
3236  }
ProxyChain is a container for storing chains of valid proxies that can be used to validate proxied re...
Definition: AllowedList.php:43
$_allowed_proxy_chains
Definition: Client.php:3223
+ Here is the caller graph for this function:

◆ getProxies()

CAS_Client::getProxies ( )

Answer an array of proxies that are sitting in front of this application.

This method will only return a non-empty array if we have received and validated a Proxy Ticket.

Returns
array public

Definition at line 3190 of file Client.php.

References CAS_Client\$_proxies.

3191  {
3192  return $this->_proxies;
3193  }
$_proxies
This array will store a list of proxies in front of this application.
Definition: Client.php:3179

Variable Documentation

◆ $_allowed_proxy_chains

CAS_Client::$_allowed_proxy_chains
private

Definition at line 3223 of file Client.php.

Referenced by CAS_Client\getAllowedProxyChains().

◆ $_proxies

CAS_Client::$_proxies = array()
private

This array will store a list of proxies in front of this application.

This property will only be populated if this script is being proxied rather than accessed directly.

It is set in CAS_Client::validateCAS20() and can be read by CAS_Client::getProxies()

private

Definition at line 3179 of file Client.php.

Referenced by CAS_Client\getProxies().