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 _bindLdapUser ()
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 189)
  • access: public
void changePassword ( $login,  $newpassword)
  • $login
  • $newpassword

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

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

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

Implementation of:
jIAuthDriver::getUserList()
construct the user list
removeUser (line 89)
  • 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 273)
  • access: protected
void setAttributesLDAP ( &$user,  $attributes)
  • &$user
  • $attributes
updateUser (line 100)
  • access: public
void updateUser ( $user)
  • $user

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

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

Inherited Methods

Inherited From jAuthDriverBase

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

Documentation generated on Wed, 04 Jan 2017 22:57:29 +0100 by phpDocumentor 1.4.3