ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | ||||||||||
__construct (array $config=array()) | ||||||||||
encodePassword ($raw, $salt) | ||||||||||
{Encodes the raw password.
| ||||||||||
isPasswordValid ($encoded, $raw, $salt) | ||||||||||
{Checks a raw password against an encoded password.The raw password has to be injected into the encoder instance before.
| ||||||||||
getName () | ||||||||||
{Returns a unique name/id of the concrete password encoder.
| ||||||||||
requiresSalt () | ||||||||||
{Returns whether or not the encoder requires a salt.
| ||||||||||
buildForm (ilPropertyFormGUI $form) | ||||||||||
{Called when an encoder should build individual form parts for the user interface.
| ||||||||||
validateForm (ilPropertyFormGUI $form) | ||||||||||
{Called if an encoder should validate a request concerning business rules.
| ||||||||||
saveForm (ilPropertyFormGUI $form) | ||||||||||
{
| ||||||||||
onSelection () | ||||||||||
{A client should call this method when the specific encoder is selected.} |
Additional Inherited Members | |
Data Fields inherited from ilBasePasswordEncoder | |
const | MAX_PASSWORD_LENGTH = 4096 |
Protected Member Functions inherited from ilBasePasswordEncoder | |
comparePasswords ($known_string, $user_string) | |
Compares two passwords. | |
isPasswordTooLong ($password) | |
Checks if the password is too long. |
Definition at line 15 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::__construct | ( | array | $config = array() | ) |
ilMd5PasswordEncoder::buildForm | ( | ilPropertyFormGUI | $form | ) |
{Called when an encoder should build individual form parts for the user interface.
ilPropertyFormGUI | $form |
Implements ilPasswordEncoderConfigurationFormAware.
Definition at line 66 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::encodePassword | ( | $raw, | |
$salt | |||
) |
{Encodes the raw password.
string | $raw | The password to encode |
string | $salt | The salt |
ilPasswordException |
Implements ilPasswordEncoder.
Definition at line 28 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\isPasswordTooLong().
Referenced by isPasswordValid().
ilMd5PasswordEncoder::getName | ( | ) |
{Returns a unique name/id of the concrete password encoder.
Implements ilPasswordEncoder.
Definition at line 50 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::isPasswordValid | ( | $encoded, | |
$raw, | |||
$salt | |||
) |
{Checks a raw password against an encoded password.The raw password has to be injected into the encoder instance before.
string | $encoded | An encoded password |
string | $raw | A raw password |
string | $salt | The salt |
Implements ilPasswordEncoder.
Definition at line 42 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\comparePasswords(), encodePassword(), and ilBasePasswordEncoder\isPasswordTooLong().
ilMd5PasswordEncoder::onSelection | ( | ) |
{A client should call this method when the specific encoder is selected.}
Implements ilPasswordEncoderConfigurationFormAware.
Definition at line 88 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::requiresSalt | ( | ) |
{Returns whether or not the encoder requires a salt.
Implements ilPasswordEncoder.
Definition at line 58 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::saveForm | ( | ilPropertyFormGUI | $form | ) |
{
ilPropertyFormGUI | $form |
Implements ilPasswordEncoderConfigurationFormAware.
Definition at line 81 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::validateForm | ( | ilPropertyFormGUI | $form | ) |
{Called if an encoder should validate a request concerning business rules.
ilPropertyFormGUI | $form |
Implements ilPasswordEncoderConfigurationFormAware.
Definition at line 73 of file class.ilMd5PasswordEncoder.php.