This function is used to set the passed in user to the internal user variable.
- Parameters
-
$user | User passed in through Mediawiki hook |
static authorize |
( |
User |
$user, |
|
|
& |
$authorized |
|
) |
| |
|
static |
This function will accept a user and a boolean. The function will then work with the other functions in this class to determine if the user is authorized or not.
- Parameters
-
User | $user, | This is an instance of the MediaWiki user variable |
| &$authorized | Boolean variable to be returned true or false depending on whether user is authorized or not |
This function is the top level evaluation function. It will look at the beginning of the rules array and call evaluateExpr to perform the rest of the authorized calculation.
This function will use the internal variables for the LDAP server to connect with the server and query with it based off the user.
This function will make sure there are global variables set in LocalSettings.php or PostConfiguration.php. It then sets each global variable to their local counterparts.
The documentation for this class was generated from the following file:
- LDAPAuthorization.class.php