tce_httpbasic.php

tce_httpbasic.php source file reference

Package: com\tecnick\tcexam\shared\cfg

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,2026 Nicola Asuni
  • since: 2010-09-16

Constants

K_HTTPBASIC_ENABLED

File: tce_httpbasic.php line 42

public mixed K_HTTPBASIC_ENABLED = \false

K_HTTPBASIC_USER_GROUP_ID

File: tce_httpbasic.php line 54

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

File: tce_httpbasic.php line 47

public mixed K_HTTPBASIC_USER_LEVEL = 1