files-shared-config-default-tce-cas

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

tce_cas.php

Tags
file

Configuration file for CAS (Central Authentication Service) CAS is a centralize authentication service for the web where the user does not need to give their login credentials (password) to the target website. It was developed at Yale and is now maintained by the Java Architectures Special Interest Group and was sometimes referred to as "Yale CAS" but now known as "JA-SIG CAS". For more information see: http://www.ja-sig.org/products/cas/ WARNING: TCExam trusts CAS mechanism and replicates any authenticated user into the TCExam database. Passwords are set to the username string, therefore, TCExam authentication is not secure for replicated users if CAS Authentication is turned off again.

author

Tim Gebhardt

since
2009-02-06

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

On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy