Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
StudipAuthLdap Class Reference
Inheritance diagram for StudipAuthLdap:
StudipAuthAbstract StudipAuthLdapReadAndBind

Public Member Functions

 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 ($config=[])
 
 authenticateUser ($username, $password)
 
 getStudipUser ($username)
 
 doNewUserInit ($user)
 
 setUserDomains ($user)
 
 getUserDomains ()
 
 doDataMapping ($user)
 
 isMappedField ($name)
 
 verifyUsername ($username)
 
 isUsedUsername ($username)
 
 isAuthenticated ($username, $password)
 
 __isset ($offset)
 
 __set ($offset, $value)
 
 __get ($offset)
 
 __unset ($offset)
 

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)
 

Member Function Documentation

doLdapBind (   $username,
  $password 
)
doLdapConnect ( )
doLdapMap (   $map_params)
doLdapMapDatafield (   $params)
getLdapError ( )
getLdapFilter (   $username)
getUserDn (   $username)
isAuthenticated (   $username,
  $password 
)

private

isUsedUsername (   $username)

Field Documentation

$anonymous_bind = true
$bad_char_regex = '/[^0-9_a-zA-Z]/'
$base_dn
$conn = null
$host
$ldap_filter
$user_data = null
$username_attribute = 'uid'

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