/**
  * Get URL with HTTP authentication.
  *
  * @param string $action The action to be targeted on the FACT-Finder
  *        server.
  * @param FACTFinder\Util\Parameters $parameters The parameters object from
  *        which to build the URL.
  *
  * @return string The full URL.
  */
 protected function getHttpAuthenticationUrl($action, \FACTFinder\Util\Parameters $parameters)
 {
     $configuration = $this->configuration;
     $authentication = sprintf('%s:%s@', $configuration->getUserName(), $configuration->getPassword());
     if ($authentication == ':@') {
         $authentication = '';
     }
     $url = $this->buildAddress($action, true) . (count($parameters) ? '?' : '') . $parameters->toJavaQueryString();
     $this->log->info("Request Url: " . $url);
     return $url;
 }