|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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... | |
Private Attributes | |
| const | MIN_SALT_SIZE = 16 |
| ilUserPasswordEncoderFactory | $encoderFactory = null |
| ilSetting | $settings = null |
| ilDBInterface | $db = null |
| string | $encoderName = null |
Static Private Attributes | |
| static self | $instance = null |
Definition at line 21 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 |
Definition at line 38 of file class.ilUserPasswordManager.php.
References 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 137 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 127 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 117 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 79 of file class.ilUserPasswordManager.php.
References $DIC, and ilFileUtils\getDataDir().
Referenced by ilPDNewsBlockGUI\changeFeedSettings(), ilObjUserFolderGUI\forceUserPasswordResetObject(), ilObjUser\isPasswordChangeDemanded(), ilObjUser\resetPassword(), ilObjUser\saveAsNew(), ilPersonalSettingsGUI\savePassword(), ilObjUser\update(), and ilAuthProviderDatabase\withoutPasswordVerification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPasswordManager::isEncodingTypeSupported | ( | string | $name | ) |
Definition at line 151 of file class.ilUserPasswordManager.php.
References getEncoderFactory().
Here is the call graph for this function:| ilUserPasswordManager::resetLastPasswordChangeForLocalUsers | ( | ) |
Definition at line 175 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 112 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 132 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 122 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 107 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 156 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:
|
private |
Definition at line 29 of file class.ilUserPasswordManager.php.
Referenced by setDb().
|
private |
Definition at line 27 of file class.ilUserPasswordManager.php.
Referenced by getEncoderFactory(), and setEncoderFactory().
|
private |
Definition at line 30 of file class.ilUserPasswordManager.php.
Referenced by getEncoderName(), and setEncoderName().
|
staticprivate |
Definition at line 25 of file class.ilUserPasswordManager.php.
|
private |
Definition at line 28 of file class.ilUserPasswordManager.php.
Referenced by setSettings().
|
private |
Definition at line 23 of file class.ilUserPasswordManager.php.