Class ldapAuthDriver

Description

Implements interfaces:

LDAP authentification driver for authentification information stored in LDAP server

Located in /plugins/auth/ldap/ldap.auth.php (line 18)

jAuthDriverBase
   |
   --ldapAuthDriver
Variable Summary
Method Summary
ldapAuthDriver __construct ( $params)
void changePassword ( $login,  $newpassword)
void createUserObject ( $login,  $password)
void getAttributesLDAP ( $user, [ $update = false])
void getUser ( $login)
void getUserList ( $pattern)
void removeUser ( $login)
void saveNewUser ( $user)
void setAttributesLDAP ( &$user,  $attributes)
void updateUser ( $user)
void verifyPassword ( $login,  $password)
void _buildUserDn ( $login)
void _getLinkId ()
Variables
array $_default_attributes = array("cn","distinguishedName","name") (line 25)

default user attributes list

  • access: protected

Inherited Variables

Inherited from jAuthDriverBase

jAuthDriverBase::$passwordHashMethod
jAuthDriverBase::$passwordHashOptions
jAuthDriverBase::$_params
Methods
Constructor __construct (line 27)
ldapAuthDriver __construct ( $params)
  • $params

Redefinition of:
jAuthDriverBase::__construct()

Implementation of:
jIAuthDriver::__construct()
constructor
changePassword (line 202)
  • access: public
void changePassword ( $login,  $newpassword)
  • $login
  • $newpassword

Implementation of:
jIAuthDriver::changePassword()
change a user password
createUserObject (line 157)
  • access: public
void createUserObject ( $login,  $password)
  • $login
  • $password

Implementation of:
jIAuthDriver::createUserObject()
creates a new user object, with some first data..
getAttributesLDAP (line 249)
  • access: protected
void getAttributesLDAP ( $user, [ $update = false])
  • $user
  • $update
getUser (line 130)
  • access: public
void getUser ( $login)
  • $login

Implementation of:
jIAuthDriver::getUser()
return user data corresponding to the given login
getUserList (line 170)
  • access: public
void getUserList ( $pattern)
  • $pattern

Implementation of:
jIAuthDriver::getUserList()
construct the user list
removeUser (line 93)
  • access: public
void removeUser ( $login)
  • $login

Implementation of:
jIAuthDriver::removeUser()
Erase user data of the user $login
saveNewUser (line 67)
  • access: public
void saveNewUser ( $user)
  • $user

Implementation of:
jIAuthDriver::saveNewUser()
store a new user.
setAttributesLDAP (line 282)
  • access: protected
void setAttributesLDAP ( &$user,  $attributes)
  • &$user
  • $attributes
updateUser (line 106)
  • access: public
void updateUser ( $user)
  • $user

Implementation of:
jIAuthDriver::updateUser()
save updated data of a user
verifyPassword (line 218)
  • access: public
void verifyPassword ( $login,  $password)
  • $login
  • $password

Implementation of:
jIAuthDriver::verifyPassword()
verify that the password correspond to the login
_buildUserDn (line 302)
  • access: protected
void _buildUserDn ( $login)
  • $login
_getLinkId (line 309)
  • access: protected
void _getLinkId ()

Inherited Methods

Inherited From jAuthDriverBase

jAuthDriverBase::__construct()
jAuthDriverBase::checkPassword()
jAuthDriverBase::cryptPassword()

Documentation generated on Thu, 19 Sep 2013 00:08:15 +0200 by phpDocumentor 1.4.3