|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilUserPasswordManager:Public Member Functions | |
| __construct (array $config=[]) | |
| Please use the singleton method for instance creation The constructor is still public because of the unit tests. More... | |
| setSettings (?ilSetting $settings) | |
| setDb (ilDBInterface $db) | |
| getEncoderName () | |
| setEncoderName (string $encoderName) | |
| getEncoderFactory () | |
| setEncoderFactory (ilUserPasswordEncoderFactory $encoderFactory) | |
| encodePassword (ilObjUser $user, string $raw) | |
| isEncodingTypeSupported (string $name) | |
| verifyPassword (ilObjUser $user, string $raw) | |
| resetLastPasswordChangeForLocalUsers () | |
Static Public Member Functions | |
| static | getInstance () |
| Single method to reduce footprint (included files, created instances) More... | |
Data Fields | |
| const | MIN_SALT_SIZE = 16 |
Protected Attributes | |
| $encoderFactory | |
| $encoderName | |
| $config = [] | |
| $settings | |
| $db | |
Static Private Attributes | |
| static | $instance |
Definition at line 9 of file class.ilUserPasswordManager.php.
| ilUserPasswordManager::__construct | ( | array | $config = [] | ) |
Please use the singleton method for instance creation The constructor is still public because of the unit tests.
| array | $config |
| ilUserException |
Definition at line 38 of file class.ilUserPasswordManager.php.
References $config, getEncoderFactory(), getEncoderName(), setDb(), setEncoderFactory(), setEncoderName(), and setSettings().
Here is the call graph for this function:| ilUserPasswordManager::encodePassword | ( | ilObjUser | $user, |
| string | $raw | ||
| ) |
| ilObjUser | $user | |
| string | $raw | The raw password |
| ilUserException |
Definition at line 157 of file class.ilUserPasswordManager.php.
References ilPasswordUtils\getBytes(), getEncoderFactory(), getEncoderName(), ilObjUser\getPasswordSalt(), IL_PASSWD_CRYPTED, ilObjUser\setPasswd(), ilObjUser\setPasswordEncodingType(), and ilObjUser\setPasswordSalt().
Here is the call graph for this function:| ilUserPasswordManager::getEncoderFactory | ( | ) |
Definition at line 139 of file class.ilUserPasswordManager.php.
References $encoderFactory.
Referenced by __construct(), encodePassword(), isEncodingTypeSupported(), and verifyPassword().
Here is the caller graph for this function:| ilUserPasswordManager::getEncoderName | ( | ) |
Definition at line 123 of file class.ilUserPasswordManager.php.
References $encoderName.
Referenced by __construct(), encodePassword(), and verifyPassword().
Here is the caller graph for this function:
|
static |
Single method to reduce footprint (included files, created instances)
| ilUserException | |
| ilPasswordException |
Definition at line 77 of file class.ilUserPasswordManager.php.
References $DIC, $instance, and ilUtil\getDataDir().
Referenced by ilPDNewsBlockGUI\changeFeedSettings(), ilObjUserFolderGUI\forceUserPasswordResetObject(), ilObjUser\isPasswordChangeDemanded(), and ilPersonalSettingsGUI\savePassword().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPasswordManager::isEncodingTypeSupported | ( | string | $name | ) |
| string | $name |
Definition at line 175 of file class.ilUserPasswordManager.php.
References $name, and getEncoderFactory().
Here is the call graph for this function:| ilUserPasswordManager::resetLastPasswordChangeForLocalUsers | ( | ) |
Definition at line 208 of file class.ilUserPasswordManager.php.
References AUTH_LOCAL, and settings().
Here is the call graph for this function:| ilUserPasswordManager::setDb | ( | ilDBInterface | $db | ) |
| ilDBInterface | $db |
Definition at line 115 of file class.ilUserPasswordManager.php.
References $db.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setEncoderFactory | ( | ilUserPasswordEncoderFactory | $encoderFactory | ) |
| ilUserPasswordEncoderFactory | $encoderFactory |
Definition at line 147 of file class.ilUserPasswordManager.php.
References $encoderFactory.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setEncoderName | ( | string | $encoderName | ) |
| string | $encoderName |
Definition at line 131 of file class.ilUserPasswordManager.php.
References $encoderName.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setSettings | ( | ?ilSetting | $settings | ) |
| ilSetting | null | $settings |
Definition at line 107 of file class.ilUserPasswordManager.php.
References $settings, and settings().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPasswordManager::verifyPassword | ( | ilObjUser | $user, |
| string | $raw | ||
| ) |
| ilObjUser | $user | |
| string | $raw |
| ilUserException |
Definition at line 186 of file class.ilUserPasswordManager.php.
References getEncoderFactory(), getEncoderName(), ilObjUser\getPasswd(), ilObjUser\getPasswordEncodingType(), and ilObjUser\getPasswordSalt().
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilUserPasswordManager.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilUserPasswordManager.php.
Referenced by setDb().
|
protected |
Definition at line 18 of file class.ilUserPasswordManager.php.
Referenced by getEncoderFactory(), and setEncoderFactory().
|
protected |
Definition at line 21 of file class.ilUserPasswordManager.php.
Referenced by getEncoderName(), and setEncoderName().
|
staticprivate |
Definition at line 15 of file class.ilUserPasswordManager.php.
Referenced by getInstance().
|
protected |
Definition at line 27 of file class.ilUserPasswordManager.php.
Referenced by setSettings().
| const ilUserPasswordManager::MIN_SALT_SIZE = 16 |
Definition at line 12 of file class.ilUserPasswordManager.php.