public function getLogArray()
{
// By default we probably shouldn't expose password info to the logger.
// Though it is still available via the getPassword() method if needed.
return $this->mergeLogDefaults(['Username' => $this->properties['username'], 'Password' => LdapUtilities::MASK_PASSWORD, 'Anonymous' => var_export($this->properties['isAnonymousBind'], true), 'Switch to Credentials' => var_export($this->properties['switchToCredentials'], true)]);
}