Class AuthenticationBackendLDAP

Description

Implements interfaces:

Authentication backend for LDAP authentication

This authentication backend tries to authenticate against an ldap server. User data may be obtained from a RDBMS (which gives you the ability to use foreign keys and joins in the database) or the LDAP tree (using the satUser schema). You can force the RDBMS usage by setting the "auth.ldap.use_rdbms" configuration flag.

Passwords are stored hashed by the Hash module.

Located in /phpsatk-lib/global/org.eenterphace.sat.auth.backend.ldap/authentication.backend.ldap.php (line 41)


	
			
Method Summary
AuthenticationBackendLDAP __construct ()
boolean checkPassword (string $username, string $password)
AuthorizationUser getUserObject (string $uname)
Methods
Constructor __construct (line 63)

Gets a database connection from the connection pool

User either "auth.rdbms.db" if available or "rdmbs.default" as fallback.

  • access: public
AuthenticationBackendLDAP __construct ()
checkPassword (line 74)

Checks the given credentials for correctness

  • access: public
boolean checkPassword (string $username, string $password)
  • string $username: Username
  • string $password: Password
getUserObject (line 113)

Gets the AuthoriazionUser object for a specified username

  • access: public
AuthorizationUser getUserObject (string $uname)
  • string $uname: Username

Documentation generated on Mon, 21 May 2007 10:34:40 +0200 by phpDocumentor 1.3.0RC5