ILIAS
Release_5_0_x_branch Revision 61816
|
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. | |
getEncoderName () | |
setEncoderName ($encoder_name) | |
getEncoderFactory () | |
setEncoderFactory (ilUserPasswordEncoderFactory $encoder_factory) | |
encodePassword (ilObjUser $user, $raw) | |
isEncodingTypeSupported ($name) | |
verifyPassword (ilObjUser $user, $raw) |
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(), and setEncoderName().
ilUserPasswordManager::encodePassword | ( | ilObjUser | $user, |
$raw | |||
) |
ilObjUser | $user | |
string | $raw | The raw password |
Definition at line 145 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 128 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct(), encodePassword(), isEncodingTypeSupported(), and verifyPassword().
ilUserPasswordManager::getEncoderName | ( | ) |
Definition at line 112 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct(), encodePassword(), and verifyPassword().
ilUserPasswordManager::isEncodingTypeSupported | ( | $name | ) |
string | $name |
Definition at line 167 of file class.ilUserPasswordManager.php.
References getEncoderFactory().
ilUserPasswordManager::setEncoderFactory | ( | ilUserPasswordEncoderFactory | $encoder_factory | ) |
ilUserPasswordEncoderFactory | $encoder_factory |
Definition at line 136 of file class.ilUserPasswordManager.php.
References $encoder_factory.
Referenced by __construct().
ilUserPasswordManager::setEncoderName | ( | $encoder_name | ) |
string | $encoder_name |
Definition at line 120 of file class.ilUserPasswordManager.php.
References $encoder_name.
Referenced by __construct().
ilUserPasswordManager::verifyPassword | ( | ilObjUser | $user, |
$raw | |||
) |
ilObjUser | $user | |
string | $raw |
Definition at line 177 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.