ILIAS
Release_4_2_x_branch Revision 61807
|
Functions | |
phpCAS::backtrace () | |
This method is a wrapper for debug_backtrace() that is not available in all PHP versions (>= 4.3.0 only) | |
phpCAS::log ($str) | |
Logs a string in debug mode. | |
phpCAS::error ($msg) | |
This method is used by interface methods to print an error and where the function was originally called from. | |
phpCAS::trace ($str) | |
This method is used to log something in debug mode. | |
phpCAS::traceBegin () | |
This method is used to indicate the start of the execution of a function in debug mode. | |
phpCAS::traceEnd ($res= '') | |
This method is used to indicate the end of the execution of a function in debug mode. | |
phpCAS::traceExit () | |
This method is used to indicate the end of the execution of the program. |
phpCAS::backtrace | ( | ) |
This method is a wrapper for debug_backtrace() that is not available in all PHP versions (>= 4.3.0 only)
Definition at line 507 of file CAS.php.
Referenced by phpCAS\checkAuthentication(), phpCAS\client(), phpCAS\error(), phpCAS\forceAuthentication(), phpCAS\isAuthenticated(), phpCAS\proxy(), phpCAS\trace(), phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
This method is used by interface methods to print an error and where the function was originally called from.
$msg | the message to print |
Definition at line 544 of file CAS.php.
References $file, phpCAS\backtrace(), exit, phpCAS\trace(), and phpCAS\traceExit().
Referenced by phpCAS\authenticate(), CASClient\CASClient(), phpCAS\checkAuthentication(), phpCAS\client(), phpCAS\forceAuthentication(), CASClient\getAttributes(), phpCAS\getAttributes(), phpCAS\getServerLoginURL(), phpCAS\getServerLogoutURL(), phpCAS\getServiceURL(), PGTStorage\getStorageInfo(), PGTStorage\getStorageType(), CASClient\getUser(), phpCAS\getUser(), phpCAS\handleLogoutRequests(), CASClient\handleLogoutRequests(), PGTStorageDB\init(), phpCAS\isAuthenticated(), phpCAS\isSessionAuthenticated(), phpCAS\logout(), phpCAS\logoutWithRedirectService(), phpCAS\logoutWithRedirectServiceAndUrl(), phpCAS\logoutWithUrl(), PGTStorage\PGTStorage(), PGTStorageFile\PGTStorageFile(), phpCAS\proxy(), PGTStorage\read(), CASClient\readURL(), CASClient\renameSession(), phpCAS\retrievePT(), phpCAS\serviceMail(), phpCAS\serviceWeb(), phpCAS\setCacheTimesForAuthRecheck(), phpCAS\setCasServerCACert(), phpCAS\setCasServerCert(), phpCAS\setDebug(), phpCAS\setExtraCurlOption(), phpCAS\setFixedCallbackURL(), phpCAS\setFixedServiceURL(), phpCAS\setHTMLFooter(), phpCAS\setHTMLHeader(), phpCAS\setLang(), phpCAS\setNoCasServerValidation(), phpCAS\setPGTStorageDB(), CASClient\setPGTStorageDB(), phpCAS\setPGTStorageFile(), CASClient\setPGTStorageFile(), phpCAS\setServerLoginURL(), phpCAS\setServerLogoutURL(), phpCAS\setServerProxyValidateURL(), phpCAS\setServerSamlValidateURL(), phpCAS\setServerServiceValidateURL(), PGTStorage\write(), and PGTStorageFile\write().
|
private |
Logs a string in debug mode.
$str | the string to write |
Definition at line 523 of file CAS.php.
References $PHPCAS_DEBUG.
Referenced by CASClient\handleLogoutRequests(), CASClient\isAuthenticated(), CASClient\logout(), CASClient\redirectToCas(), phpCAS\trace(), phpCAS\traceBegin(), phpCAS\traceEnd(), phpCAS\traceExit(), and CASClient\validatePGT().
phpCAS::trace | ( | $str | ) |
This method is used to log something in debug mode.
Definition at line 569 of file CAS.php.
References phpCAS\backtrace(), and phpCAS\log().
Referenced by CASClient\authError(), CASClient\callback(), CASClient\CASClient(), CASClient\checkAuthentication(), phpCAS\error(), CASClient\forceAuthentication(), phpCAS\forceAuthentication(), CASClient\isAuthenticated(), PGTStorageFile\read(), CASClient\readURL(), CASClient\renameSession(), CASClient\renewAuthentication(), CASClient\retrievePT(), CASClient\serviceWeb(), phpCAS\setDebug(), CASClient\setSessionAttributes(), CASClient\validatePGT(), CASClient\validatePT(), CASClient\validateSA(), CASClient\validateST(), and CASClient\wasPreviouslyAuthenticated().
phpCAS::traceBegin | ( | ) |
This method is used to indicate the start of the execution of a function in debug mode.
Definition at line 577 of file CAS.php.
References $PHPCAS_DEBUG, phpCAS\backtrace(), and phpCAS\log().
Referenced by CASClient\authError(), CASClient\buildSAMLPayload(), CASClient\callback(), CASClient\CASClient(), CASClient\checkAuthentication(), phpCAS\checkAuthentication(), phpCAS\client(), CASClient\forceAuthentication(), phpCAS\forceAuthentication(), PGTStorageFile\getPGTIouFilename(), CASClient\getServerLoginURL(), CASClient\getServerSamlValidateURL(), CASClient\handleLogoutRequests(), PGTStorageFile\init(), PGTStorageDB\init(), CASClient\isAuthenticated(), phpCAS\isAuthenticated(), CASClient\logout(), phpCAS\logout(), phpCAS\logoutWithRedirectService(), phpCAS\logoutWithRedirectServiceAndUrl(), phpCAS\logoutWithUrl(), PGTStorage\PGTStorage(), PGTStorageDB\PGTStorageDB(), PGTStorageFile\PGTStorageFile(), phpCAS\proxy(), PGTStorageFile\read(), CASClient\readURL(), CASClient\redirectToCas(), CASClient\renameSession(), CASClient\renewAuthentication(), CASClient\retrievePT(), phpCAS\serviceMail(), phpCAS\serviceWeb(), CASClient\serviceWeb(), phpCAS\setCasServerCACert(), phpCAS\setCasServerCert(), phpCAS\setExtraCurlOption(), phpCAS\setFixedCallbackURL(), phpCAS\setFixedServiceURL(), phpCAS\setNoCasServerValidation(), phpCAS\setPGTStorageDB(), phpCAS\setPGTStorageFile(), phpCAS\setServerLoginURL(), phpCAS\setServerLogoutURL(), phpCAS\setServerProxyValidateURL(), phpCAS\setServerSamlValidateURL(), phpCAS\setServerServiceValidateURL(), CASClient\setSessionAttributes(), CASClient\validatePGT(), CASClient\validatePT(), CASClient\validateSA(), CASClient\validateST(), CASClient\wasPreviouslyAuthenticated(), and PGTStorageFile\write().
phpCAS::traceEnd | ( | $res = '' | ) |
This method is used to indicate the end of the execution of a function in debug mode.
$res | the result of the function |
Definition at line 604 of file CAS.php.
References $PHPCAS_DEBUG, $res, phpCAS\backtrace(), and phpCAS\log().
Referenced by CASClient\buildSAMLPayload(), CASClient\CASClient(), CASClient\checkAuthentication(), phpCAS\checkAuthentication(), phpCAS\client(), CASClient\forceAuthentication(), PGTStorageFile\getPGTIouFilename(), CASClient\getServerLoginURL(), CASClient\getServerSamlValidateURL(), CASClient\handleLogoutRequests(), PGTStorageFile\init(), CASClient\isAuthenticated(), phpCAS\isAuthenticated(), phpCAS\logout(), phpCAS\logoutWithRedirectService(), phpCAS\logoutWithRedirectServiceAndUrl(), phpCAS\logoutWithUrl(), PGTStorage\PGTStorage(), PGTStorageDB\PGTStorageDB(), PGTStorageFile\PGTStorageFile(), phpCAS\proxy(), PGTStorageFile\read(), CASClient\readURL(), CASClient\renameSession(), CASClient\renewAuthentication(), CASClient\retrievePT(), phpCAS\serviceMail(), phpCAS\serviceWeb(), phpCAS\setCasServerCACert(), phpCAS\setCasServerCert(), phpCAS\setExtraCurlOption(), phpCAS\setFixedCallbackURL(), phpCAS\setFixedServiceURL(), phpCAS\setNoCasServerValidation(), phpCAS\setPGTStorageDB(), phpCAS\setPGTStorageFile(), phpCAS\setServerLoginURL(), phpCAS\setServerLogoutURL(), phpCAS\setServerProxyValidateURL(), phpCAS\setServerSamlValidateURL(), phpCAS\setServerServiceValidateURL(), CASClient\setSessionAttributes(), CASClient\validatePGT(), CASClient\wasPreviouslyAuthenticated(), and PGTStorageFile\write().
phpCAS::traceExit | ( | ) |
This method is used to indicate the end of the execution of the program.
Definition at line 617 of file CAS.php.
References $PHPCAS_DEBUG, and phpCAS\log().
Referenced by CASClient\authError(), CASClient\callback(), phpCAS\error(), CASClient\handleLogoutRequests(), CASClient\logout(), and CASClient\redirectToCas().