Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudipAuthLdapHSW Class Reference
Inheritance diagram for StudipAuthLdapHSW:
Inheritance graph
Collaboration diagram for StudipAuthLdapHSW:
Collaboration graph

Public Member Functions

 StudipAuthLdapHSW ()
 doLdapMap ($map_params)
 doLdapMapVorname ($map_params)
 doDataMapping ($uid)
 isMappedField ($name)
 doLdapMapStudyCourse ($uid)
- Public Member Functions inherited from StudipAuthLdap
 StudipAuthLdap ()
 getLdapFilter ($username)
 doLdapConnect ()
 getUserDn ($username)
 doLdapBind ($username, $password)
 isAuthenticated ($username, $password, $jscript)
 isUsedUsername ($username)
 getLdapError ()
- Public Member Functions inherited from StudipAuthAbstract
 StudipAuthAbstract ()
 authenticateUser ($username, $password, $jscript=false)
 getStudipUserid ($username)
 doNewUserInit ($uid)
 setUserDomains ($uid)
 getUserDomains ()
 verifyUsername ($username)

Data Fields

 $study_course_attribute = 'hswstudiengang'
- Data Fields inherited from StudipAuthLdap
 $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
 $dbv
 $plugin_name
 $error_head

Additional Inherited Members

- Static Public Member Functions inherited from StudipAuthAbstract
 GetInstance ($plugin_name=false)
 CheckAuthentication ($username, $password, $jscript=false)
 CheckUsername ($username)
 CheckField ($field_name, $plugin_name)

Member Function Documentation

doDataMapping (   $uid)

this method handles the data mapping

for each entry in $this->user_data_mapping the according callback will be invoked the return value of the callback method is then written to the db field, which is specified in the key of the array

private

Parameters
stringthe user_id
Returns
bool

Reimplemented from StudipAuthAbstract.

Here is the call graph for this function:

doLdapMap (   $map_params)

Reimplemented from StudipAuthLdap.

doLdapMapStudyCourse (   $uid)

Here is the caller graph for this function:

doLdapMapVorname (   $map_params)

Reimplemented from StudipAuthLdap.

isMappedField (   $name)

method to check, if a given db field is mapped by the plugin

private

Parameters
stringthe name of the db field (<table_name>.<field_name>)
Returns
bool true if the field is mapped

Reimplemented from StudipAuthAbstract.

Here is the call graph for this function:

Field Documentation

$study_course_attribute = 'hswstudiengang'

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