ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
encodePassword (string $raw, string $salt) | |
@inheritDoc More... | |
isPasswordValid (string $encoded, string $raw, string $salt) | |
@inheritDoc More... | |
getName () | |
@inheritDoc More... | |
![]() | |
isSupportedByRuntime () | |
@inheritDoc More... | |
requiresSalt () | |
@inheritDoc More... | |
requiresReencoding (string $encoded) | |
@inheritDoc More... | |
encodePassword (string $raw, string $salt) | |
Encodes the raw password. More... | |
isPasswordValid (string $encoded, string $raw, string $salt) | |
Checks a raw password against an encoded password. More... | |
getName () | |
Returns a unique name/id of the concrete password encoder. More... | |
requiresSalt () | |
Returns whether or not the encoder requires a salt. More... | |
requiresReencoding (string $encoded) | |
Returns whether or not the a encoded password needs to be re-encoded. More... | |
isSupportedByRuntime () | |
Returns whether or not the encoder is supported by the runtime (PHP, HHVM, ...) More... | |
Additional Inherited Members | |
![]() | |
const | MAX_PASSWORD_LENGTH = 4096 |
![]() | |
comparePasswords (string $knownString, string $userString) | |
Compares two passwords. More... | |
isPasswordTooLong (string $password) | |
Checks if the password is too long. More... | |
Definition at line 15 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::encodePassword | ( | string | $raw, |
string | $salt | ||
) |
@inheritDoc
ilPasswordException |
Implements ilPasswordEncoder.
Definition at line 21 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\isPasswordTooLong().
Referenced by isPasswordValid(), and ilMd5PasswordEncoderTest\testPasswordShouldBeCorrectlyEncoded().
ilMd5PasswordEncoder::getName | ( | ) |
@inheritDoc
Implements ilPasswordEncoder.
Definition at line 42 of file class.ilMd5PasswordEncoder.php.
Referenced by ilMd5PasswordEncoderTest\testNameShouldBeMd5().
ilMd5PasswordEncoder::isPasswordValid | ( | string | $encoded, |
string | $raw, | ||
string | $salt | ||
) |
@inheritDoc
ilPasswordException |
Implements ilPasswordEncoder.
Definition at line 34 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\comparePasswords(), encodePassword(), and ilBasePasswordEncoder\isPasswordTooLong().
Referenced by ilMd5PasswordEncoderTest\testPasswordCanBeVerified().