LdapTools\Operation\AuthenticationOperation::validateArguments PHP Method

validateArguments() protected method

Validates that the arguments given don't have any issues.
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.");
        }
    }