ILIAS
Release_4_4_x_branch Revision 61816
|
Functions | |
phpCAS::setPGTStorageFile ($format= '', $path= '') | |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests onto the filesystem. | |
phpCAS::setPGTStorageDB ($user, $password, $database_type= '', $hostname= '', $port=0, $database= '', $table= '') | |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests into a database. |
Variables | |
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 | 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 |
phpCAS::setPGTStorageDB | ( | $user, | |
$password, | |||
$database_type = '' , |
|||
$hostname = '' , |
|||
$port = 0 , |
|||
$database = '' , |
|||
$table = '' |
|||
) |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests into a database.
$user | the user to access the data with |
$password | the user's password |
$database_type | the type of the database hosting the data |
$hostname | the server hosting the database |
$port | the port the server is listening on |
$database | the name of the database |
$table | the name of the table storing the data |
Definition at line 768 of file CAS.php.
References $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
phpCAS::setPGTStorageFile | ( | $format = '' , |
|
$path = '' |
|||
) |
This method is used to tell phpCAS to store the response of the CAS server to PGT requests onto the filesystem.
$format | the format used to store the PGT's (`plain' and `xml' allowed) |
$path | the path where the PGT's should be stored |
Definition at line 730 of file CAS.php.
References $path, $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, phpCAS\error(), phpCAS\traceBegin(), and phpCAS\traceEnd().
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE = 'phpCAS' |
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE = 'phpCAS' |
default database when storing PGT's to database
Definition at line 180 of file CAS.php.
Referenced by PGTStorageDB\PGTStorageDB().
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE = 'mysql' |
const CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE = 'mysql' |
default database type when storing PGT's to database
Definition at line 168 of file CAS.php.
Referenced by PGTStorageDB\PGTStorageDB().
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME = 'localhost' |
const CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME = 'localhost' |
default host when storing PGT's to database
Definition at line 172 of file CAS.php.
Referenced by PGTStorageDB\PGTStorageDB().
const CAS_PGT_STORAGE_DB_DEFAULT_PORT = '' |
const CAS_PGT_STORAGE_DB_DEFAULT_PORT = '' |
default port when storing PGT's to database
Definition at line 176 of file CAS.php.
Referenced by PGTStorageDB\PGTStorageDB().
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE = 'pgt' |
const CAS_PGT_STORAGE_DB_DEFAULT_TABLE = 'pgt' |
default table when storing PGT's to database
Definition at line 184 of file CAS.php.
Referenced by PGTStorageDB\PGTStorageDB().
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT = CAS_PGT_STORAGE_FILE_FORMAT_PLAIN |
const CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT = CAS_PGT_STORAGE_FILE_FORMAT_PLAIN |
Default format used when storing PGT's to file.
Definition at line 161 of file CAS.php.
Referenced by PGTStorageFile\PGTStorageFile().
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH = '/tmp' |
const CAS_PGT_STORAGE_FILE_DEFAULT_PATH = '/tmp' |
Default path used when storing PGT's to file.
Definition at line 149 of file CAS.php.
Referenced by PGTStorageFile\PGTStorageFile().
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN = 'plain' |
phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files
const CAS_PGT_STORAGE_FILE_FORMAT_PLAIN = 'plain' |
phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files
Definition at line 153 of file CAS.php.
Referenced by PGTStorageFile\PGTStorageFile().
const CAS_PGT_STORAGE_FILE_FORMAT_XML = 'xml' |
phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files
const CAS_PGT_STORAGE_FILE_FORMAT_XML = 'xml' |
phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files
Definition at line 157 of file CAS.php.
Referenced by PGTStorageFile\PGTStorageFile().