files-shared-config-default-tce-httpbasic

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_httpbasic.php

Tags
file

Configuration file for HTTP Basic Authentication HTTP Basic Authentication is a procedure handled by the WebServer. The server grants access to the requested resource only if username and password can be verified against a file or a plugin. If support for HTTP Basic Auth is enabled, TCExam trusts this mechanism and replicates any authenticated user into the tcexam database. WARNING: On logout, TCExam automatically disable the HTTP Basic Authentication. To restore the HTTP Basic Authentication the user must clear the cache of the browser.

author

Matthias Wolf, Nicola Asuni

since
2010-09-16

Table of Contents

Constants

K_HTTPBASIC_ENABLED  = \false
If true trust HTTP Basic Auth
K_HTTPBASIC_USER_GROUP_ID  = 1
Default user group ID This is the TCExam group id to which the accounts belong.
K_HTTPBASIC_USER_LEVEL  = 1
Default user level

Constants

K_HTTPBASIC_ENABLED

If true trust HTTP Basic Auth

public mixed K_HTTPBASIC_ENABLED = \false

K_HTTPBASIC_USER_GROUP_ID

Default user group ID This is the TCExam group id to which the accounts belong.

public mixed K_HTTPBASIC_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_HTTPBASIC_USER_LEVEL

Default user level

public mixed K_HTTPBASIC_USER_LEVEL = 1
On this page
 

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