ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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.
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, $key, getEncoderFactory(), getEncoderName(), setEncoderFactory(), and setEncoderName().
ilUserPasswordManager::encodePassword | ( | ilObjUser | $user, |
$raw | |||
) |
ilObjUser | $user | |
string | $raw | The raw password |
Definition at line 132 of file class.ilUserPasswordManager.php.
References ilPasswordUtils\getBytes(), getEncoderFactory(), getEncoderName(), ilObjUser\getPasswordSalt(), IL_PASSWD_CRYPTED, ilObjUser\setPasswd(), ilObjUser\setPasswordEncodingType(), and ilObjUser\setPasswordSalt().
ilUserPasswordManager::getEncoderFactory | ( | ) |
Definition at line 115 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct(), encodePassword(), isEncodingTypeSupported(), and verifyPassword().
ilUserPasswordManager::getEncoderName | ( | ) |
Definition at line 99 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct(), encodePassword(), and verifyPassword().
|
static |
Single method to reduce footprint (included files, created instances)
Definition at line 72 of file class.ilUserPasswordManager.php.
References array, and ilUtil\getDataDir().
Referenced by ilObjUser\assignData(), ilPDNewsBlockGUI\changeFeedSettings(), ilObjUser\isPasswordChangeDemanded(), ilSetup\loginAsClient(), ilObjUser\refreshLogin(), ilPersonalSettingsGUI\savePassword(), and ilPDOAuthentication\setAuth().
ilUserPasswordManager::isEncodingTypeSupported | ( | $name | ) |
string | $name |
Definition at line 151 of file class.ilUserPasswordManager.php.
References $name, and getEncoderFactory().
ilUserPasswordManager::setEncoderFactory | ( | ilUserPasswordEncoderFactory | $encoder_factory | ) |
ilUserPasswordEncoderFactory | $encoder_factory |
Definition at line 123 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct().
ilUserPasswordManager::setEncoderName | ( | $encoder_name | ) |
string | $encoder_name |
Definition at line 107 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct().
ilUserPasswordManager::verifyPassword | ( | ilObjUser | $user, |
$raw | |||
) |
ilObjUser | $user | |
string | $raw |
Definition at line 161 of file class.ilUserPasswordManager.php.
References getEncoderFactory(), getEncoderName(), ilObjUser\getPasswd(), ilObjUser\getPasswordEncodingType(), and ilObjUser\getPasswordSalt().
|
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.
const ilUserPasswordManager::MIN_SALT_SIZE = 16 |
Definition at line 16 of file class.ilUserPasswordManager.php.