ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 3110 of file Client.php.

References CAS_Client\setNoClearTicketsFromUrl().

Referenced by CAS_Client\_wasPreviouslyAuthenticated().

3111  {
3112  $this->_proxies = $proxies;
3113  if (!empty($proxies)) {
3114  // For proxy-authenticated requests people are not viewing the URL
3115  // directly since the client is another application making a
3116  // web-service call.
3117  // Because of this, stripping the ticket from the URL is unnecessary
3118  // and causes another web-service request to be performed. Additionally,
3119  // if session handling on either the client or the server malfunctions
3120  // then the subsequent request will not complete successfully.
3121  $this->setNoClearTicketsFromUrl();
3122  }
3123  }
setNoClearTicketsFromUrl()
Configure the client to not send redirect headers and call exit() on authentication success...
Definition: Client.php:638
+ 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 3137 of file Client.php.

References CAS_Client\$_allowed_proxy_chains.

Referenced by CAS_Client\validateCAS20().

3138  {
3139  if (empty($this->_allowed_proxy_chains)) {
3140  $this->_allowed_proxy_chains = new CAS_ProxyChain_AllowedList();
3141  }
3143  }
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:3130
+ 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 3097 of file Client.php.

References CAS_Client\$_proxies.

3098  {
3099  return $this->_proxies;
3100  }
$_proxies
This array will store a list of proxies in front of this application.
Definition: Client.php:3086

Variable Documentation

◆ $_allowed_proxy_chains

CAS_Client::$_allowed_proxy_chains
private

Definition at line 3130 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 3086 of file Client.php.

Referenced by CAS_Client\getProxies().