PHP Class Passwd_Driver_Ldap, horde

Author: Mike Cochrane ([email protected])
Author: Mattias Webjörn Eriksson ([email protected])
Author: Ralf Lang ([email protected])
Author: Eric Jon Rostetter ([email protected])
Author: Jan Schneider ([email protected])
Author: Tjeerd van der Zee ([email protected])
Inheritance: extends Passwd_Driver
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_ldap resource LDAP object.
$_userdn string The user's DN.

Public Methods

Method Description
__construct ( array $params = [] )

Protected Methods

Method Description
_changePassword ( $user, $oldpass, $newpass )
_comparePasswords ( string $encrypted, string $plaintext ) Compares a plaintext password with an encrypted password.

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array

_changePassword() protected method

protected _changePassword ( $user, $oldpass, $newpass )

_comparePasswords() protected method

Compares a plaintext password with an encrypted password.
protected _comparePasswords ( string $encrypted, string $plaintext )
$encrypted string An encrypted password.
$plaintext string An unencrypted password.

Property Details

$_ldap protected property

LDAP object.
protected resource $_ldap
return resource

$_userdn protected property

The user's DN.
protected string $_userdn
return string