ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
CAS.php File Reference

Go to the source code of this file.

Data Structures

class  phpCAS
 The phpCAS class is a simple container for the phpCAS library. More...
 

Variables

const PHPCAS_VERSION '1.1.2'
 phpCAS version. More...
 
const CAS_VERSION_1_0 '1.0'
 CAS version 1.0. More...
 
const CAS_VERSION_2_0 '2.0'
 
const SAML_VERSION_1_1 'S1'
 SAML protocol. More...
 
const SAML_XML_HEADER '<?xml version="1.0" encoding="UTF-8"?>'
 XML header for SAML POST. More...
 
const SAML_SOAP_ENV '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/>'
 SOAP envelope for SAML POST. More...
 
const SAML_SOAP_BODY '<SOAP-ENV:Body>'
 SOAP body for SAML POST. More...
 
const SAMLP_REQUEST '<samlp:Request xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" MajorVersion="1" MinorVersion="1" RequestID="_192.168.16.51.1024506224022" IssueInstant="2002-06-19T17:03:44.022Z">'
 SAMLP request. More...
 
const SAMLP_REQUEST_CLOSE '</samlp:Request>'
 
const SAML_ASSERTION_ARTIFACT '<samlp:AssertionArtifact>'
 SAMLP artifact tag (for the ticket) More...
 
const SAML_ASSERTION_ARTIFACT_CLOSE '</samlp:AssertionArtifact>'
 SAMLP close. More...
 
const SAML_SOAP_BODY_CLOSE '</SOAP-ENV:Body>'
 SOAP body close. More...
 
const SAML_SOAP_ENV_CLOSE '</SOAP-ENV:Envelope>'
 SOAP envelope close. More...
 
const SAML_ATTRIBUTES 'SAMLATTRIBS'
 SAML Attributes. More...
 
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH '/tmp'
 Default path used when storing PGT's to file. More...
 
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN 'plain'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files More...
 
const CAS_PGT_STORAGE_FILE_FORMAT_XML 'xml'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files More...
 
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
 Default format used when storing PGT's to file. More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE 'mysql'
 default database type when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME 'localhost'
 default host when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_PORT ''
 default port when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE 'phpCAS'
 default database when storing PGT's to database More...
 
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE 'pgt'
 default table when storing PGT's to database More...
 
const PHPCAS_SERVICE_OK 0
 phpCAS::service() error code on success More...
 
const PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE 1
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not respond. More...
 
const PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE 2
 phpCAS::service() error code when the PT could not retrieve because the response of the CAS server was ill-formed. More...
 
const PHPCAS_SERVICE_PT_FAILURE 3
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to. More...
 
const AVAILABLE 4
 phpCAS::service() error code when the service was not available. More...
 
const PHPCAS_LANG_ENGLISH 'english'
 
const PHPCAS_LANG_FRENCH 'french'
 
const PHPCAS_LANG_GREEK 'greek'
 
const PHPCAS_LANG_GERMAN 'german'
 
const PHPCAS_LANG_JAPANESE 'japanese'
 
const PHPCAS_LANG_SPANISH 'spanish'
 
const PHPCAS_LANG_CATALAN 'catalan'
 
const PHPCAS_LANG_DEFAULT PHPCAS_LANG_ENGLISH
 phpCAS default language (when phpCAS::setLang() is not used) More...
 
const DEFAULT_DEBUG_DIR '/tmp/'
 The default directory for the debug file under Unix. More...
 
 $GLOBALS ['PHPCAS_CLIENT']
 This global variable is used by the interface class phpCAS. More...
 
 $GLOBALS ['PHPCAS_INIT_CALL']
 This global variable is used to store where the initializer is called from (to print a comprehensive error in case of multiple calls). More...
 
 $GLOBALS ['PHPCAS_AUTH_CHECK_CALL']
 This global variable is used to store where the method checking the authentication is called from (to print comprehensive errors) More...
 
 $GLOBALS ['PHPCAS_DEBUG']
 This global variable is used to store phpCAS debug mode. More...
 

Variable Documentation

◆ PHPCAS_VERSION

const PHPCAS_VERSION '1.1.2'

phpCAS version.

accessible for the user by phpCAS::getVersion().

Definition at line 64 of file CAS.php.

Referenced by phpCAS\getVersion(), and phpCAS\setDebug().