XOOPS Docs - kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Class: XoopsAuthAds

Source Location: /class/auth/auth_ads.php

Class Overview

XoopsAuth
   |
   --XoopsAuthLdap
      |
      --XoopsAuthAds



Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Methods


Inherited Variables

Inherited Methods

Class: XoopsAuthLdap

XoopsAuthLdap::XoopsAuthLdap()
Authentication Service constructor
XoopsAuthLdap::authenticate()
Authenticate user again LDAP directory (Bind)
XoopsAuthLdap::cp1252_to_utf8()
XoopsAuthLdap::getFilter()
Load user from XOOPS Database
XoopsAuthLdap::getUserDN()
Compose the user DN with the configuration.
XoopsAuthLdap::loadXoopsUser()

Class: XoopsAuth

XoopsAuth::XoopsAuth()
Authentication Service constructor
XoopsAuth::authenticate()
XoopsAuth::getErrors()
return the errors for this object as an array
XoopsAuth::getHtmlErrors()
return the errors for this object as html
XoopsAuth::setErrors()
add an error

Class Details

[line 37]


Tags:

author:  Pierre-Eric MENUET <pemphp@free.fr>
copyright:  copyright (c) 2000-2003 XOOPS.org


[ Top ]


Class Methods


constructor XoopsAuthAds [line 41]

XoopsAuthAds XoopsAuthAds( &$dao)

Authentication Service constructor



Parameters:

   &$dao  

[ Top ]

method authenticate [line 56]

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




Overrides XoopsAuthLdap::authenticate() (Authenticate user again LDAP directory (Bind))

Parameters:

string   $uname   Username
string   $pwd   Password

[ Top ]

method getUPN [line 100]

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.



Tags:

return:  or false


Parameters:

   $uname  

[ Top ]


XOOPS Docs generated by phpDocumentor