Inheritance diagram for GenieGate_Api_Plugin_Apache:


Public Member Functions | |
| GenieGate_Api_Plugin_Apache (&$conf) | |
| Constructor. | |
| setupUser ($ua, $fields, $conf_id) | |
| Set up the user account. | |
| userInfoChanged (&$um, $uid, &$old_values, &$new_values) | |
| Called whenever the users information has changed. | |
| userGroupsChanged (&$gm, $uid, &$oldg, &$newg) | |
| Listen for changes to a users group setting. | |
| groupNameDelete (&$gm, $gid, &$info) | |
| Called when a named group is removed. | |
| apache_replaceOrAddPw ($pf, $un, $pw) | |
| Replace OR add user to password file. | |
| removeUser ($ua, $uid, $fields) | |
| Removes user from password file. | |
| preCheck (&$ua, &$fields, &$errors) | |
| This is called prior to creating an account, it is called before anything is entered into the database. | |
| preConfirm (&$ua, &$fields, $conf_id, &$errors) | |
| Preconfirm user account, this is called when the user clicks on the link that was sent to them, but BEFORE the account is confirmed. | |
| setupUser (&$ua, &$fields, $confirm_id) | |
| setupUser - Sets up the user data. | |
| removeUser (&$ua, $uid, &$fields) | |
| Called during the removal of a user. | |
| groupNameChange (&$gm, $gid, $name, $sign_ok, $is_new) | |
| Called when a new group definition is created, or an existing one has been modified. | |
| propertyCreated (&$prop, &$section, &$property, &$description) | |
| Fired when a new property is being defined. | |
| propertyChanged (&$prop, $uid, &$section, &$property, &$old_value, &$new_value) | |
| fired when a property has changed. | |
| propertyRemoved (&$prop, $uid, $section, $property, $old_value) | |
| This is fired when a property is removed. | |
| propertyUndefine (&$prop, $section, $property) | |
| This is called when a property is about to be removed for all users. | |
| dispatchStart (&$controller, $trigger, $method) | |
| This is called just prior to running a dispatch method. | |
| dispatchEnd (&$controller, $method, &$view) | |
| Called after running the "model". | |
This class listens for events and updates the password and group files.
It uses the configuration keys AuthGroupFile and AuthUserFile.
These entries are added using php's crypt() function, which may or may not be the same that your apache uses.
password formats are lines of user_id:password
group formats are lines of group_id: member member member
Definition at line 135 of file Apache.php.
|
|
Constructor. The section of the configuration file called [ApachePlugin] is used for this plugin.
Definition at line 147 of file Apache.php. |
|
||||||||||||||||
|
Replace OR add user to password file. This will inspect the password file for entries of the given username, replacing them with the new one if found. If not found, the user is added.
Definition at line 223 of file Apache.php. Referenced by setupUser(), and userInfoChanged(). |
|
||||||||||||||||
|
Called after running the "model". This is called after the dispatch method has been invoked, but before the view is shown with View::display(). $view can be assigned to.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 176 of file Plugin.php. |
|
||||||||||||||||
|
This is called just prior to running a dispatch method. $method should be perferred to using the trigger variable for indication of what is to be run. (because there may be multiple triggers pointing to the same method)
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 164 of file Plugin.php. |
|
||||||||||||||||||||||||
|
Called when a new group definition is created, or an existing one has been modified.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 74 of file Plugin.php. |
|
||||||||||||||||
|
Called when a named group is removed.
Reimplemented from GenieGate_Api_Plugin. Definition at line 201 of file Apache.php. |
|
||||||||||||||||||||
|
Preconfirm user account, this is called when the user clicks on the link that was sent to them, but BEFORE the account is confirmed.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 41 of file Plugin.php. |
|
||||||||||||||||||||||||||||
|
fired when a property has changed.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 128 of file Plugin.php. |
|
||||||||||||||||||||
|
Fired when a new property is being defined.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 114 of file Plugin.php. |
|
||||||||||||||||||||||||
|
This is fired when a property is removed. (such as when a user is deleted.)
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 140 of file Plugin.php. |
|
||||||||||||||||
|
This is called when a property is about to be removed for all users.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 152 of file Plugin.php. |
|
||||||||||||||||
|
Called during the removal of a user.
Reimplemented in GenieGate_Api_Plugin_ApacheDBM, and GenieGate_Api_Plugin_Logger. Definition at line 62 of file Plugin.php. |
|
||||||||||||||||
|
setupUser - Sets up the user data. This is called after a user has verified his/her email address. NOTE: this may be called several times for the same user.
Reimplemented in GenieGate_Api_Plugin_Logger. Definition at line 53 of file Plugin.php. |
|
||||||||||||||||
|
Set up the user account. This will add a user to the password file. It uses the configuration variable PassFile for the file location.
Definition at line 160 of file Apache.php. References apache_replaceOrAddPw(). |
|
||||||||||||||||||||
|
Listen for changes to a users group setting. This will create the groups file if it is specified in AuthGroupFile and does not exist. Implements userGroupsChanged() in Plugin, so the arguments are the same. Reimplemented from GenieGate_Api_Plugin. Definition at line 183 of file Apache.php. |
|
||||||||||||||||||||
|
Called whenever the users information has changed.
Reimplemented from GenieGate_Api_Plugin. Definition at line 168 of file Apache.php. References apache_replaceOrAddPw(). |
Documentation generated by DoxyGen