|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for ilUserPasswordManager:Public Member Functions | |
| __construct (array $config=array()) | |
| Please use the singleton method for instance creation The constructor is still public because of the unit tests. More... | |
| getEncoderName () | |
| setEncoderName ($encoder_name) | |
| getEncoderFactory () | |
| setEncoderFactory (ilUserPasswordEncoderFactory $encoder_factory) | |
| encodePassword (ilObjUser $user, $raw) | |
| isEncodingTypeSupported ($name) | |
| verifyPassword (ilObjUser $user, $raw) | |
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 | |
| $encoder_factory | |
| $encoder_name | |
| $config = array() | |
Static Private Attributes | |
| static | $instance |
Definition at line 11 of file class.ilUserPasswordManager.php.
| ilUserPasswordManager::__construct | ( | array | $config = array() | ) |
Please use the singleton method for instance creation The constructor is still public because of the unit tests.
| array | $config |
| ilUserException |
Definition at line 44 of file class.ilUserPasswordManager.php.
References $config, getEncoderFactory(), getEncoderName(), setEncoderFactory(), setEncoderName(), and sprintf.
Here is the call graph for this function:| ilUserPasswordManager::encodePassword | ( | ilObjUser | $user, |
| $raw | |||
| ) |
| ilObjUser | $user | |
| string | $raw | The raw password |
Definition at line 137 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 120 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct(), encodePassword(), isEncodingTypeSupported(), and verifyPassword().
Here is the caller graph for this function:| ilUserPasswordManager::getEncoderName | ( | ) |
Definition at line 104 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct(), encodePassword(), and verifyPassword().
Here is the caller graph for this function:
|
static |
Single method to reduce footprint (included files, created instances)
Definition at line 77 of file class.ilUserPasswordManager.php.
References $instance.
Referenced by ilPDNewsBlockGUI\changeFeedSettings(), ilObjUser\isPasswordChangeDemanded(), ilSetup\loginAsClient(), and ilPersonalSettingsGUI\savePassword().
Here is the caller graph for this function:| ilUserPasswordManager::isEncodingTypeSupported | ( | $name | ) |
| string | $name |
Definition at line 159 of file class.ilUserPasswordManager.php.
References getEncoderFactory().
Here is the call graph for this function:| ilUserPasswordManager::setEncoderFactory | ( | ilUserPasswordEncoderFactory | $encoder_factory | ) |
| ilUserPasswordEncoderFactory | $encoder_factory |
Definition at line 128 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::setEncoderName | ( | $encoder_name | ) |
| string | $encoder_name |
Definition at line 112 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct().
Here is the caller graph for this function:| ilUserPasswordManager::verifyPassword | ( | ilObjUser | $user, |
| $raw | |||
| ) |
| ilObjUser | $user | |
| string | $raw |
Definition at line 169 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 36 of file class.ilUserPasswordManager.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilUserPasswordManager.php.
Referenced by getEncoderFactory(), and setEncoderFactory().
|
protected |
Definition at line 31 of file class.ilUserPasswordManager.php.
Referenced by getEncoderName(), and setEncoderName().
|
staticprivate |
Definition at line 21 of file class.ilUserPasswordManager.php.
Referenced by getInstance().
| const ilUserPasswordManager::MIN_SALT_SIZE = 16 |
Definition at line 16 of file class.ilUserPasswordManager.php.