\LDAPFakeGateway
Synopsis
class LDAPFakeGateway
extends LDAPGateway
implements
TestOnly
{
- // members
- private static array $data = ;
- // methods
- public void __construct()
- public void authenticate()
- public void getNodes()
- public void getGroups()
- public void getNestedGroups()
- public void getGroupByGUID()
- public void getUsers()
- public void getUserByGUID()
- public void update()
- public void delete()
- public void move()
- public void add()
- // Inherited methods from LDAPGateway
- public void __construct()
- protected array search()
- public Result authenticate()
- public array getNodes()
- public array getGroups()
- public array getNestedGroups()
- public array getGroupByGUID()
- public array getGroupByDN()
- public array getUsers()
- public array getUserByGUID()
- public array getUserByDN()
- public array getUserByEmail()
- public array getUserByUsername()
- public string getCanonicalUsername()
- public void changePassword()
- public void resetPassword()
- public void update()
- public void delete()
- public void move()
- public void add()
Hierarchy
Members
private
- $data
Methods
public
- __construct()
- add()
- authenticate()
- delete()
- getGroupByGUID()
- getGroups()
- getNestedGroups()
- getNodes()
- getUserByGUID()
- getUsers()
- move()
- update()
Inherited from LDAPGateway
protected
- search() — Query the LDAP directory with the given filter.
public
- add() — Add an LDAP object.
- authenticate() — Authenticate the given username and password with LDAP.
- changePassword() — Changes user password via LDAP.
- delete() — Deletes an LDAP object.
- getCanonicalUsername() — Get a canonical username from the record based on the connection settings.
- getGroupByDN() — Return a particular LDAP group by DN value.
- getGroupByGUID() — Return a particular LDAP group by objectGUID value.
- getGroups() — Query for LDAP groups.
- getNestedGroups() — Return all nested AD groups underneath a specific DN
- getNodes() — Query for LDAP nodes (organizational units, containers, and domains).
- getUserByDN() — Return a particular LDAP user by DN value.
- getUserByEmail() — Return a particular LDAP user by mail value.
- getUserByGUID() — Return a particular LDAP user by objectGUID value.
- getUserByUsername() — Get a specific user's data from LDAP
- getUsers() — Query for LDAP users, but don't include built-in user accounts.
- move() — Move an LDAP object from it's original DN location to another.
- resetPassword() — Administrative password reset.
- update() — Updates an LDAP object.