[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/class/auth/ -> auth_ldap.php (sommaire)

LDAP authentification class

Poids: 205 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

XoopsAuthLdap:: (6 méthodes):
  XoopsAuthLdap()
  cp1252_to_utf8()
  authenticate()
  getUserDN()
  getFilter()
  loadXoopsUser()


Classe: XoopsAuthLdap  - X-Ref


XoopsAuthLdap(&$dao)   X-Ref
Authentication Service constructor


cp1252_to_utf8($str)   X-Ref
Pas de description

authenticate($uname, $pwd = null)   X-Ref
Authenticate  user again LDAP directory (Bind)
2 options :
Authenticate directly with uname in the DN
Authenticate with manager, search the dn

param: string $uname Username
param: string $pwd Password
return: bool

getUserDN($uname)   X-Ref
Compose the user DN with the configuration.

return: userDN or false

getFilter($uname)   X-Ref
Load user from XOOPS Database

return: XoopsUser object

loadXoopsUser($userdn, $uname, $pwd = null)   X-Ref
Pas de description



Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics