managesPasswordAttributes()
passwordChangeRequested()
supportsForcePasswordChange()
This interface needs to be implemented by all account modules which manage passwords.
It allows LAM to provide central password changes.
| package | modules |
|---|
managesPasswordAttributes() : boolean
The module alias will
then appear as option in the GUI.
If the module only wants to get notified about password changes then return false.
booleantrue if this module manages password attributespasswordChangeRequested(String $password, array $modules, boolean $forcePasswordChange) : array
Account modules must change their password attributes only if the modules list contains their module name.
Stringnew password
arraylist of modules for which the password should be changed
booleanforce the user to change his password at next login
arraylist of error messages if any as parameter array for StatusMessage e.g. return arrray(array('ERROR', 'Password change failed.'))supportsForcePasswordChange() : boolean
booleanforce password change supported