|
ILIAS
release_8 Revision v8.24
|
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 () |
| Singleton method to reduce footprint (included files, created instances) More... | |
Protected Attributes | |
| ilUserPasswordEncoderFactory | $encoderFactory = null |
| ilSetting | $settings = null |
| ilDBInterface | $db = null |
| string | $encoderName = null |
| array | $config = [] |
Private Attributes | |
| const | MIN_SALT_SIZE = 16 |
Static Private Attributes | |
| static self | $instance = null |
Definition at line 26 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<string,mixed> | $config |
| ilUserException | |
| JsonException |
Definition at line 48 of file class.ilUserPasswordManager.php.
References $config, ILIAS\LTI\ToolProvider\$key, getEncoderFactory(), getEncoderName(), setDb(), setEncoderFactory(), setEncoderName(), and setSettings().
Here is the call graph for this function:| ilUserPasswordManager::encodePassword | ( | ilObjUser | $user, |
| string | $raw | ||
| ) |
Definition at line 147 of file class.ilUserPasswordManager.php.
References ilPasswordUtils\getBytes(), getEncoderFactory(), getEncoderName(), ilObjUser\getPasswordSalt(), ilObjUser\PASSWD_CRYPTED, ilObjUser\setPasswd(), ilObjUser\setPasswordEncodingType(), and ilObjUser\setPasswordSalt().
Here is the call graph for this function:| ilUserPasswordManager::getEncoderFactory | ( | ) |
Definition at line 137 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 127 of file class.ilUserPasswordManager.php.
References $encoderName.
Referenced by __construct(), encodePassword(), and verifyPassword().
Here is the caller graph for this function:
|
static |
Singleton method to reduce footprint (included files, created instances)
| ilUserException | |
| ilPasswordException |
Definition at line 90 of file class.ilUserPasswordManager.php.
References $DIC, $instance, and ilFileUtils\getDataDir().
Referenced by ilPDNewsBlockGUI\changeFeedSettings(), ilObjUserFolderGUI\forceUserPasswordResetObject(), ilObjUser\isPasswordChangeDemanded(), ilObjUser\saveAsNew(), ilPersonalSettingsGUI\savePassword(), and ilObjUser\update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPasswordManager::isEncodingTypeSupported | ( | string | $name | ) |
Definition at line 161 of file class.ilUserPasswordManager.php.
References $name, and getEncoderFactory().
Here is the call graph for this function:| ilUserPasswordManager::resetLastPasswordChangeForLocalUsers | ( | ) |
Definition at line 185 of file class.ilUserPasswordManager.php.
References ilAuthUtils\AUTH_LOCAL, and ILIAS\Repository\settings().
Here is the call graph for this function:| ilUserPasswordManager::setDb | ( | ilDBInterface | $db | ) |
Definition at line 122 of file class.ilUserPasswordManager.php.
References $db.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setEncoderFactory | ( | ilUserPasswordEncoderFactory | $encoderFactory | ) |
Definition at line 142 of file class.ilUserPasswordManager.php.
References $encoderFactory.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setEncoderName | ( | string | $encoderName | ) |
Definition at line 132 of file class.ilUserPasswordManager.php.
References $encoderName.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setSettings | ( | ?ilSetting | $settings | ) |
Definition at line 117 of file class.ilUserPasswordManager.php.
References $settings, and ILIAS\Repository\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 | ||
| ) |
Definition at line 166 of file class.ilUserPasswordManager.php.
References getEncoderFactory(), getEncoderName(), ilObjUser\getPasswd(), ilObjUser\getPasswordEncodingType(), ilObjUser\getPasswordSalt(), and ilObjUser\resetPassword().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.ilUserPasswordManager.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilUserPasswordManager.php.
Referenced by setDb().
|
protected |
Definition at line 32 of file class.ilUserPasswordManager.php.
Referenced by getEncoderFactory(), and setEncoderFactory().
|
protected |
Definition at line 35 of file class.ilUserPasswordManager.php.
Referenced by getEncoderName(), and setEncoderName().
|
staticprivate |
Definition at line 30 of file class.ilUserPasswordManager.php.
Referenced by getInstance().
|
protected |
Definition at line 33 of file class.ilUserPasswordManager.php.
Referenced by setSettings().
|
private |
Definition at line 28 of file class.ilUserPasswordManager.php.