Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
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)
 doLdapMapVorname ($map_params)
 doLdapMapDatafield ($params)
 isUsedUsername ($username)
 getLdapError ()
- Public Member Functions inherited from StudipAuthAbstract
 authenticateUser ($username, $password)
 getStudipUser ($username)
 doNewUserInit ($user)
 setUserDomains ($user)
 getUserDomains ()
 doDataMapping ($user)
 isMappedField ($name)
 verifyUsername ($username)

Data Fields

 $anonymous_bind = true
 $host
 $base_dn
 $protocol_version
 $username_attribute = 'uid'
 $ldap_filter
 $bad_char_regex = '/[^0-9_a-zA-Z]/'
 $decode_utf8_values = false
 $send_utf8_credentials = false
 $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)

Constructor & Destructor Documentation

__construct ( )

Constructor

public

Reimplemented from StudipAuthAbstract.

Reimplemented in StudipAuthLdapReadAndBind.

Member Function Documentation

doLdapBind (   $username,
  $password 
)

Here is the call graph for this function:

Here is the caller graph for this function:

doLdapConnect ( )

Here is the caller graph for this function:

doLdapMap (   $map_params)

Here is the call graph for this function:

Here is the caller graph for this function:

doLdapMapDatafield (   $params)

Here is the call graph for this function:

doLdapMapVorname (   $map_params)

Here is the call graph for this function:

getLdapError ( )

Here is the caller graph for this function:

getLdapFilter (   $username)

Here is the caller graph for this function:

getUserDn (   $username)

Reimplemented in StudipAuthLdapReadAndBind.

Here is the call graph for this function:

Here is the caller graph for this function:

isAuthenticated (   $username,
  $password 
)

private

Reimplemented from StudipAuthAbstract.

Here is the call graph for this function:

isUsedUsername (   $username)

method to check, if username is used

abstract MUST be realized

private

Parameters
stringthe username
Returns
bool true if the username exists

Reimplemented from StudipAuthAbstract.

Reimplemented in StudipAuthLdapReadAndBind.

Here is the call graph for this function:

Field Documentation

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

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