Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_auth_Ldap
  • Overview
  • Package
  • Class

Class icms_auth_Ldap

Authentification class for standard LDAP Server V2 or V3

icms_auth_Object
Extended by icms_auth_Ldap

Direct known subclasses

icms_auth_Ads
Package: Auth\Ldap
Category: ICMS
Copyright: http://www.xoops.org/ The XOOPS Project
Copyright: http://www.impresscms.org/ The ImpressCMS Project
License: LICENSE.txt
Author: http://www.xoops.org The XOOPS Project
Author: Pierre-Eric MENUET pemphp@free.fr
Since: XOOPS
Located at auth/Ldap.php
Methods summary
public
# __construct( & $dao )

Authentication Service constructor

Authentication Service constructor

Overrides

icms_auth_Object::__construct()
public
# cp1252_to_utf8( $str )
public boolean
# authenticate( string $uname, string $pwd = null )

Authenticate user against LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn

Authenticate user against LDAP directory (Bind) 2 options : Authenticate directly with uname in the DN Authenticate with manager, search the dn

Parameters

$uname
Username
$pwd
Password

Returns

boolean

Overrides

icms_auth_Object::authenticate()
public userDN
# getUserDN( string $uname )

Compose the user DN with the configuration.

Compose the user DN with the configuration.

Parameters

$uname
UserName

Returns

userDN
or false
public object
# getFilter( string $uname )

Load user from ImpressCMS Database

Load user from ImpressCMS Database

Parameters

$uname
UserName

Returns

object
icms_member_user_Object icms_member_user_Object object
public object
# loadicms_member_user_Object( string $userdn, string $uname, string $pwd = null )

Loads user

Loads user

Parameters

$userdn
$uname
Username
$pwd
Password

Returns

object
icms_member_user_Object icms_member_user_Object object
Methods inherited from icms_auth_Object
getErrors(), getHtmlErrors(), setErrors()
Properties summary
public array $cp1252_map
# array( "\xc2\x80" => "\xe2\x82\xac", /* EURO SIGN */ "\xc2\x82" => "\xe2\x80\x9a", /* SINGLE LOW-9 QUOTATION MARK */ "\xc2\x83" => "\xc6\x92", /* LATIN SMALL LETTER F WITH HOOK */ "\xc2\x84" => "\xe2\x80\x9e", /* DOUBLE LOW-9 QUOTATION MARK */ "\xc2\x85" => "\xe2\x80\xa6", /* HORIZONTAL ELLIPSIS */ "\xc2\x86" => "\xe2\x80\xa0", /* DAGGER */ "\xc2\x87" => "\xe2\x80\xa1", /* DOUBLE DAGGER */ "\xc2\x88" => "\xcb\x86", /* MODIFIER LETTER CIRCUMFLEX ACCENT */ "\xc2\x89" => "\xe2\x80\xb0", /* PER MILLE SIGN */ "\xc2\x8a" => "\xc5\xa0", /* LATIN CAPITAL LETTER S WITH CARON */ "\xc2\x8b" => "\xe2\x80\xb9", /* SINGLE LEFT-POINTING ANGLE QUOTATION */ "\xc2\x8c" => "\xc5\x92", /* LATIN CAPITAL LIGATURE OE */ "\xc2\x8e" => "\xc5\xbd", /* LATIN CAPITAL LETTER Z WITH CARON */ "\xc2\x91" => "\xe2\x80\x98", /* LEFT SINGLE QUOTATION MARK */ "\xc2\x92" => "\xe2\x80\x99", /* RIGHT SINGLE QUOTATION MARK */ "\xc2\x93" => "\xe2\x80\x9c", /* LEFT DOUBLE QUOTATION MARK */ "\xc2\x94" => "\xe2\x80\x9d", /* RIGHT DOUBLE QUOTATION MARK */ "\xc2\x95" => "\xe2\x80\xa2", /* BULLET */ "\xc2\x96" => "\xe2\x80\x93", /* EN DASH */ "\xc2\x97" => "\xe2\x80\x94", /* EM DASH */ "\xc2\x98" => "\xcb\x9c", /* SMALL TILDE */ "\xc2\x99" => "\xe2\x84\xa2", /* TRADE MARK SIGN */ "\xc2\x9a" => "\xc5\xa1", /* LATIN SMALL LETTER S WITH CARON */ "\xc2\x9b" => "\xe2\x80\xba", /* SINGLE RIGHT-POINTING ANGLE QUOTATION*/ "\xc2\x9c" => "\xc5\x93", /* LATIN SMALL LIGATURE OE */ "\xc2\x9e" => "\xc5\xbe", /* LATIN SMALL LETTER Z WITH CARON */ "\xc2\x9f" => "\xc5\xb8" /* LATIN CAPITAL LETTER Y WITH DIAERESIS*/ )
public $ldap_server
#
public string $ldap_port
# '389'
public string $ldap_version
# '3'
public $ldap_base_dn
#
public $ldap_loginname_asdn
#
public $ldap_loginldap_attr
#
public $ldap_mail_attr
#
public $ldap_name_attr
#
public $ldap_surname_attr
#
public $ldap_givenname_attr
#
public $ldap_manager_dn
#
public $ldap_manager_pass
#
public $_ds
#
API documentation generated by ApiGen