Stud.IP  trunk Revision
StudipAuthLdap Class Reference
Inheritance diagram for StudipAuthLdap:
Inheritance graph
Collaboration diagram for StudipAuthLdap:
Collaboration graph

Public Member Functions

 __construct ()
 
 getLdapFilter ($username)
 
 doLdapConnect ()
 
 getUserDn ($username)
 
 doLdapBind ($username, $password)
 
 isAuthenticated ($username, $password)
 
 doLdapMap ($map_params)
 
 doLdapMapDatafield ($params)
 
 isUsedUsername ($username)
 
 getLdapError ()
 
- Public Member Functions inherited from StudipAuthAbstract
 __construct ()
 
 authenticateUser ($username, $password)
 
 getStudipUser ($username)
 
 doNewUserInit ($user)
 
 setUserDomains ($user)
 
 getUserDomains ()
 
 doDataMapping ($user)
 
 isMappedField ($name)
 
 verifyUsername ($username)
 
 isUsedUsername ($username)
 
 isAuthenticated ($username, $password)
 

Data Fields

 $anonymous_bind = true
 
 $host
 
 $base_dn
 
 $username_attribute = 'uid'
 
 $ldap_filter
 
 $bad_char_regex = '/[^0-9_a-zA-Z]/'
 
 $conn = null
 
 $user_data = null
 
- Data Fields inherited from StudipAuthAbstract
 $error_msg
 
 $is_new_user = false
 
 $user_domains
 
 $user_data_mapping = null
 
 $plugin_name
 
 $error_head
 

Additional Inherited Members

- Static Public Member Functions inherited from StudipAuthAbstract
static getInstance ($plugin_name=false)
 
static CheckAuthentication ($username, $password)
 
static CheckUsername ($username)
 
static CheckField ($field_name, $plugin_name)
 
static CheckIPRange ()
 
static CheckIPRangeV4 ($ip, $range)
 
static CheckIPRangeV6 ($ip, $range)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constructor

public

Member Function Documentation

◆ doLdapBind()

doLdapBind (   $username,
  $password 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ doLdapConnect()

doLdapConnect ( )
Here is the caller graph for this function:

◆ doLdapMap()

doLdapMap (   $map_params)
Here is the caller graph for this function:

◆ doLdapMapDatafield()

doLdapMapDatafield (   $params)
Here is the call graph for this function:

◆ getLdapError()

getLdapError ( )
Here is the caller graph for this function:

◆ getLdapFilter()

getLdapFilter (   $username)
Here is the caller graph for this function:

◆ getUserDn()

getUserDn (   $username)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAuthenticated()

isAuthenticated (   $username,
  $password 
)

private

Here is the call graph for this function:

◆ isUsedUsername()

isUsedUsername (   $username)
Here is the call graph for this function:

Field Documentation

◆ $anonymous_bind

$anonymous_bind = true

◆ $bad_char_regex

$bad_char_regex = '/[^0-9_a-zA-Z]/'

◆ $base_dn

$base_dn

◆ $conn

$conn = null

◆ $host

$host

◆ $ldap_filter

$ldap_filter

◆ $user_data

$user_data = null

◆ $username_attribute

$username_attribute = 'uid'

The documentation for this class was generated from the following file: