ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Functions | |
CAS_Client::getTicket () | |
This method returns the Service Ticket provided in the URL of the request. More... | |
CAS_Client::setTicket ($st) | |
This method stores the Service Ticket. More... | |
CAS_Client::hasTicket () | |
This method tells if a Service Ticket was stored. More... | |
CAS_Client::setCasServerCACert ($cert, $validate_cn) | |
Set the CA certificate of the CAS server. More... | |
CAS_Client::setNoCasServerValidation () | |
Set no SSL validation for the CAS server. More... | |
CAS_Client::validateCAS10 (&$validate_url, &$text_response, &$tree_response, $renew=false) | |
This method is used to validate a CAS 1,0 ticket; halt on failure, and sets $validate_url, $text_reponse and $tree_response on success. More... | |
Variables | |
CAS_Client::$_ticket | |
The Ticket provided in the URL of the request if present (empty otherwise). More... | |
CAS_Client::$_cas_server_ca_cert | |
the certificate of the CAS server CA. More... | |
CAS_Client::$_cas_server_cn_validate | |
validate CN of the CAS server certificate More... | |
CAS_Client::$_no_cas_server_validation | |
Set to true not to validate the CAS server. More... | |
CAS_Client::getTicket | ( | ) |
This method returns the Service Ticket provided in the URL of the request.
Definition at line 1870 of file Client.php.
References CAS_Client\$_ticket.
Referenced by CAS_Client\_buildSAMLPayload(), CAS_Client\isAuthenticated(), CAS_Client\validateCAS10(), CAS_Client\validateCAS20(), and CAS_Client\validateSA().
CAS_Client::hasTicket | ( | ) |
This method tells if a Service Ticket was stored.
Definition at line 1892 of file Client.php.
Referenced by CAS_Client\isAuthenticated().
CAS_Client::setCasServerCACert | ( | $cert, | |
$validate_cn | |||
) |
Set the CA certificate of the CAS server.
string | $cert | the PEM certificate file name of the CA that emited the cert of the server |
bool | $validate_cn | valiate CN of the CAS server certificate |
Definition at line 1944 of file Client.php.
CAS_Client::setNoCasServerValidation | ( | ) |
CAS_Client::setTicket | ( | $st | ) |
This method stores the Service Ticket.
string | $st | The Service Ticket. |
Definition at line 1882 of file Client.php.
Referenced by CAS_Client\_wasPreviouslyAuthenticated().
CAS_Client::validateCAS10 | ( | & | $validate_url, |
& | $text_response, | ||
& | $tree_response, | ||
$renew = false |
|||
) |
This method is used to validate a CAS 1,0 ticket; halt on failure, and sets $validate_url, $text_reponse and $tree_response on success.
string | &$validate_url | reference to the the URL of the request to the CAS server. |
string | &$text_response | reference to the response of the CAS server, as is (XML text). |
string | &$tree_response | reference to the response of the CAS server, as a DOM XML tree. |
bool | $renew | true to force the authentication with the CAS server |
Definition at line 1985 of file Client.php.
References $result, CAS_Client\_readURL(), CAS_Client\getServerServiceValidateURL(), CAS_Client\getTicket(), n, to, phpCAS\trace(), and phpCAS\traceBegin().
|
private |
the certificate of the CAS server CA.
Definition at line 1912 of file Client.php.
|
private |
validate CN of the CAS server certificate
Definition at line 1925 of file Client.php.
|
private |
Set to true not to validate the CAS server.
Definition at line 1932 of file Client.php.
|
private |
The Ticket provided in the URL of the request if present (empty otherwise).
Written by CAS_Client::CAS_Client(), read by CAS_Client::getTicket() and CAS_Client::_hasPGT().
Definition at line 1863 of file Client.php.
Referenced by CAS_Client\getTicket().