Class: XoopsAuthAds

Source Location: /class/auth/auth_ads.php

Class XoopsAuthAds

Class Overview

Authentification base class

Located in /class/auth/auth_ads.php [line 39]

XoopsAuth
   |
   --XoopsAuthLdap
      |
      --XoopsAuthAds
Author(s): Information Tags:
Copyright:  copyright (c) 2000-2003 XOOPS.org

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Method Summary
XoopsAuthAds   XoopsAuthAds()   Authentication Service constructor
bool   authenticate()   Authenticate user again LDAP directory (Bind)
userDN   getUPN()   Return the UPN = userPrincipalName (Active Directory) userPrincipalName = guyt@CP.com Often abbreviated to UPN, and looks like an email address. Very useful for logging on especially in a large Forest. Note UPN must be unique in the forest.

[ Top ]
Methods
Constructor XoopsAuthAds  [line 44]

  XoopsAuthAds XoopsAuthAds( &$dao  )

Authentication Service constructor

Parameters:
   &$dao: 


[ Top ]
authenticate  [line 59]

  bool authenticate( string $uname, [string $pwd = null]  )

Authenticate user again LDAP directory (Bind)

2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn

Parameters:
string   $uname:  Username
string   $pwd:  Password


Redefinition of:
XoopsAuthLdap::authenticate()
Authenticate user again LDAP directory (Bind)

[ Top ]
getUPN  [line 102]

  userDN getUPN( $uname  )

Return the UPN = userPrincipalName (Active Directory) userPrincipalName = guyt@CP.com Often abbreviated to UPN, and looks like an email address. Very useful for logging on especially in a large Forest. Note UPN must be unique in the forest.

Parameters:
   $uname: 

API Tags:
Return:  or false


[ Top ]

Documentation generated on Sat, 15 Nov 2008 14:09:18 -0600 by phpDocumentor 1.4.1