![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
This file contains common authentication function. More...
Go to the source code of this file.
Functions | |
| siteminder_check () | |
| Check if SiteMinder is enabled. More... | |
| auth_external_check () | |
| Check if the external HTTP authentication is enabled. The mapping variables should be configured in fossology.conf Usernames are forced lowercase. More... | |
| account_check (&$user, &$passwd, &$group="") | |
| check if this account is correct More... | |
| read_permission ($upload, $user) | |
| Check if the user has the permission to read the copyright/license/etc information of this upload. More... | |
| passwordPolicyEnabled () | |
| generate_password_policy () | |
| generate_password_policy_string () | |
This file contains common authentication function.
Definition in file common-auth.php.
| account_check | ( | & | $user, |
| & | $passwd, | ||
| & | $group = "" |
||
| ) |
check if this account is correct
| string | &$user | User name, reference variable |
| string | &$passwd | Password, reference variable |
| string | &$group | Group, reference variable (optional) |
Definition at line 75 of file common-auth.php.
| auth_external_check | ( | ) |
Check if the external HTTP authentication is enabled. The mapping variables should be configured in fossology.conf Usernames are forced lowercase.
Definition at line 38 of file common-auth.php.
| generate_password_policy | ( | ) |
Generate the password policy regex from sysconfig
Definition at line 241 of file common-auth.php.
| generate_password_policy_string | ( | ) |
Translate selected password policy into user understandable string
Definition at line 284 of file common-auth.php.
| passwordPolicyEnabled | ( | ) |
Check if the password policy has been enabled
Definition at line 227 of file common-auth.php.
| read_permission | ( | $upload, | |
| $user | |||
| ) |
Check if the user has the permission to read the copyright/license/etc information of this upload.
| int | $upload | Upload id |
| string | $user | User name |
Definition at line 186 of file common-auth.php.
| siteminder_check | ( | ) |
Check if SiteMinder is enabled.
Definition at line 22 of file common-auth.php.