src/Service/authService.php
public function authenticateUser($userName, $password)
    {
        if ($this->authticationType == "database")
            return $this->authDBUser($userName, $password);
        return false;
    }
public function authenticateUser($userName, $password)
    {
        if ($this->authticationType == "database")
            return $this->authDBUser($userName, $password);
        return false;
    }
Authenticate User

@param string $userName
@param string $password
@return boolean