Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

PGT storage
[Configuration]


Enumerations

enum  CAS_PGT_STORAGE_FILE_DEFAULT_PATH
enum  CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
enum  CAS_PGT_STORAGE_FILE_FORMAT_XML
enum  CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT
enum  CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE
enum  CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME
enum  CAS_PGT_STORAGE_DB_DEFAULT_PORT
enum  CAS_PGT_STORAGE_DB_DEFAULT_DATABASE
enum  CAS_PGT_STORAGE_DB_DEFAULT_TABLE

Functions

 phpCAS::setPGTStorageFile ($format='', $path='')
 phpCAS::setPGTStorageDB ($user, $password, $database_type='', $hostname='', $port=0, $database='', $table='')

Enumeration Type Documentation

enum CAS_PGT_STORAGE_DB_DEFAULT_DATABASE
 

default database when storing PGT's to database

Definition at line 99 of file CAS.php.

Referenced by PGTStorageDB::PGTStorageDB().

enum CAS_PGT_STORAGE_DB_DEFAULT_DATABASE_TYPE
 

default database type when storing PGT's to database

Definition at line 87 of file CAS.php.

Referenced by PGTStorageDB::PGTStorageDB().

enum CAS_PGT_STORAGE_DB_DEFAULT_HOSTNAME
 

default host when storing PGT's to database

Definition at line 91 of file CAS.php.

Referenced by PGTStorageDB::PGTStorageDB().

enum CAS_PGT_STORAGE_DB_DEFAULT_PORT
 

default port when storing PGT's to database

Definition at line 95 of file CAS.php.

Referenced by PGTStorageDB::PGTStorageDB().

enum CAS_PGT_STORAGE_DB_DEFAULT_TABLE
 

default table when storing PGT's to database

Definition at line 103 of file CAS.php.

Referenced by PGTStorageDB::PGTStorageDB().

enum CAS_PGT_STORAGE_FILE_DEFAULT_FORMAT
 

Default format used when storing PGT's to file

Definition at line 80 of file CAS.php.

Referenced by PGTStorageFile::PGTStorageFile().

enum CAS_PGT_STORAGE_FILE_DEFAULT_PATH
 

Default path used when storing PGT's to file

Definition at line 68 of file CAS.php.

Referenced by PGTStorageFile::PGTStorageFile().

enum CAS_PGT_STORAGE_FILE_FORMAT_PLAIN
 

phpCAS::setPGTStorageFile()'s 2nd parameter to write plain text files

Definition at line 72 of file CAS.php.

Referenced by PGTStorageFile::PGTStorageFile().

enum CAS_PGT_STORAGE_FILE_FORMAT_XML
 

phpCAS::setPGTStorageFile()'s 2nd parameter to write xml files

Definition at line 76 of file CAS.php.

Referenced by PGTStorageFile::PGTStorageFile().


Function Documentation

phpCAS::setPGTStorageDB user,
password,
database_type = '',
hostname = '',
port = 0,
database = '',
table = ''
[inherited]
 

This method is used to tell phpCAS to store the response of the CAS server to PGT requests into a database.

Note:
The connection to the database is done only when needed. As a consequence, bad parameters are detected only when initializing PGT storage, except in debug mode.
Parameters:
$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 683 of file CAS.php.

References $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, phpCAS::error(), phpCAS::proxy(), phpCAS::setPGTStorageDB(), phpCAS::traceBegin(), and phpCAS::traceEnd().

Referenced by phpCAS::setPGTStorageDB().

phpCAS::setPGTStorageFile format = '',
path = ''
[inherited]
 

This method is used to tell phpCAS to store the response of the CAS server to PGT requests onto the filesystem.

Parameters:
$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 643 of file CAS.php.

References $PHPCAS_AUTH_CHECK_CALL, $PHPCAS_CLIENT, phpCAS::error(), phpCAS::proxy(), phpCAS::setPGTStorageFile(), phpCAS::traceBegin(), and phpCAS::traceEnd().

Referenced by phpCAS::setPGTStorageFile().


Generated on Thu Aug 17 02:03:22 2006 for phpCAS by doxygen 1.3.7