ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 @access private

Definition at line 3110 of file Client.php.

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

References CAS_Client\setNoClearTicketsFromUrl().

Referenced by CAS_Client\_wasPreviouslyAuthenticated().

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

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:44
$_allowed_proxy_chains
Definition: Client.php:3130

References CAS_Client\$_allowed_proxy_chains.

Referenced by CAS_Client\validateCAS20().

+ 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 @access public

Definition at line 3097 of file Client.php.

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

References CAS_Client\$_proxies.

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()

@access private

Definition at line 3086 of file Client.php.

Referenced by CAS_Client\getProxies().