ldapConfig = new sspmod_ldap_ConfigHelper($config, 'Authentication source ' . var_export($this->authId, TRUE)); } /** * Attempt to log in using the given username and password. * * @param string $username The username the user wrote. * @param string $password The password the user wrote. * param array $sasl_arg Associative array of SASL options * @return array Associative array with the users attributes. */ protected function login($username, $password, array $sasl_args = NULL) { assert('is_string($username)'); assert('is_string($password)'); return $this->ldapConfig->login($username, $password, $sasl_args); } } ?>