tce_cas.php
Tags
Table of Contents
Constants
- K_CAS_ENABLED = \false
- If true enable CAS
- K_CAS_HOST = ''
- CAS server hostname.
- K_CAS_PATH = '/cas'
- The location on the webserver where the CAS application is hosted.
- K_CAS_PORT = 443
- The port to connect to.
- K_CAS_USER_GROUP_ID = 1
- Default user group ID This is the TCExam group ID to which the CAS accounts belongs.
- K_CAS_USER_LEVEL = 1
- Default user level
- K_CAS_VERSION = '2.0'
- Version of CAS protocol to use.
Constants
K_CAS_ENABLED
If true enable CAS
public mixed K_CAS_ENABLED = \false
K_CAS_HOST
CAS server hostname.
public mixed K_CAS_HOST = ''
K_CAS_PATH
The location on the webserver where the CAS application is hosted.
public mixed K_CAS_PATH = '/cas'
Some setups don't place the CAS application in the webserver's root directory and we can specify where to find the CAS application. Default is ''.
K_CAS_PORT
The port to connect to.
public mixed K_CAS_PORT = 443
Defaults to 443
K_CAS_USER_GROUP_ID
Default user group ID This is the TCExam group ID to which the CAS accounts belongs.
public mixed K_CAS_USER_GROUP_ID =
1
You can also set 0 for all available groups or a string containing a comma-separated list of group IDs.
K_CAS_USER_LEVEL
Default user level
public mixed K_CAS_USER_LEVEL =
1
K_CAS_VERSION
Version of CAS protocol to use.
public mixed K_CAS_VERSION = '2.0'
Defaults to CAS_VERSION_2_0