ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
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.
const CAS_VERSION_1_0 = '1.0'
 CAS version 1.0.
const CAS_VERSION_2_0 = '2.0'
const SAML_VERSION_1_1 = 'S1'
 SAML protocol.
const SAML_XML_HEADER = '<?xml version="1.0" encoding="UTF-8"?>'
 XML header for SAML POST.
const SAML_SOAP_ENV = '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/>'
 SOAP envelope for SAML POST.
const SAML_SOAP_BODY = '<SOAP-ENV:Body>'
 SOAP body for SAML POST.
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.
const SAMLP_REQUEST_CLOSE = '</samlp:Request>'
const SAML_ASSERTION_ARTIFACT = '<samlp:AssertionArtifact>'
 SAMLP artifact tag (for the ticket)
const SAML_ASSERTION_ARTIFACT_CLOSE = '</samlp:AssertionArtifact>'
 SAMLP close.
const SAML_SOAP_BODY_CLOSE = '</SOAP-ENV:Body>'
 SOAP body close.
const SAML_SOAP_ENV_CLOSE = '</SOAP-ENV:Envelope>'
 SOAP envelope close.
const SAML_ATTRIBUTES = 'SAMLATTRIBS'
 SAML Attributes.
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH = '/tmp'
 Default path used when storing PGT's to file.
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN = 'plain'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files
const CAS_PGT_STORAGE_FILE_FORMAT_XML = 'xml'
 phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT = CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
 Default format used when storing PGT's to file.
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE = 'mysql'
 default database type when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME = 'localhost'
 default host when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_PORT = ''
 default port when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE = 'phpCAS'
 default database when storing PGT's to database
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE = 'pgt'
 default table when storing PGT's to database
const PHPCAS_SERVICE_OK = 0
 phpCAS::service() error code on success
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.
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.
const PHPCAS_SERVICE_PT_FAILURE = 3
 phpCAS::service() error code when the PT could not retrieve because the CAS server did not want to.
const AVAILABLE = 4
 phpCAS::service() error code when the service was not available.
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)
const DEFAULT_DEBUG_DIR = '/tmp/'
 The default directory for the debug file under Unix.
 $GLOBALS ['PHPCAS_CLIENT']
 This global variable is used by the interface class phpCAS.
 $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).
 $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)
 $GLOBALS ['PHPCAS_DEBUG']
 This global variable is used to store phpCAS debug mode.

Variable Documentation

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