protected validateArguments ( ) |
protected function validateArguments()
{
if ($this->getIsAnonymousBind()) {
return;
}
if (empty($this->properties['username']) || empty($this->properties['password'])) {
throw new LdapBindException("You must specify a username and password.");
}
}