FusionDirectory
|
This class contains all the functions for clear password method. More...
Public Member Functions | |
__construct () | |
passwordMethodClear Constructor | |
generate_hash (string $pwd, bool $locked=FALSE) | |
Generate template hash. More... | |
![]() | |
__construct ($dn='', $userTab=NULL) | |
Password method contructor. More... | |
generate_hash (string $pwd, bool $locked=FALSE) | |
Generate template hash. More... | |
is_available () | |
Is available. More... | |
need_password () | |
If we need password. More... | |
is_lockable () | |
If we can lock the password. More... | |
is_locked ($dn='', $pwd='') | |
Is locked. More... | |
lock_account ($dn='', bool $lockEverything=TRUE) | |
Locks an account by adding a '!' as prefix to the password hashes. This makes login impossible, due to the fact that the hash becomes invalid. userPassword: {SHA}!q02NKl9IChNwZEAJxzRdmB6E sambaLMPassword: !EBD223B61F8C259AD3B435B51404EE sambaNTPassword: !98BB35737013AAF181D0FE9FDA09E. More... | |
unlock_account ($dn='') | |
Unlocks an account which was locked by 'lock_account()'. For details about the locking mechanism see 'lock_account()'. | |
checkPassword ($pwd, $hash) | |
Method to check if a password matches a hash. | |
is_configurable () | |
Return true if this password method provides a configuration dialog. | |
configure () | |
Provide a subdialog to configure a password method. | |
save ($dn) | |
Save information to LDAP. More... | |
set_hash ($hash) | |
Set a hash. More... | |
get_hash () | |
Get a hash. | |
Static Public Member Functions | |
static | get_hash_name () |
Get the hash name. | |
![]() | |
static | get_hash_name () |
Get the Hash name. | |
static | get_available_methods () |
This function returns all loaded classes for password encryption. | |
static | get_method ($password_hash, $dn='') |
Try to find out if it's our hash... More... | |
static | _extract_method ($password_hash) |
Extract a method. More... | |
static | make_hash ($password, $hash) |
Make a hash. More... | |
static | is_harmless ($password) |
Test for problematic unicode caracters in password This can be activated with the keyword strictPasswordRules in the fusiondirectory.conf. More... | |
This class contains all the functions for clear password method.
Definition at line 32 of file class_passwordMethodClear.inc.
generate_hash | ( | string | $pwd, |
bool | $locked = FALSE |
||
) |
Generate template hash.
string | $pwd | Password |
bool | $locked | Should the password be locked |
Definition at line 53 of file class_passwordMethodClear.inc.