/** * Get URL with simple authentication encryption. * * @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 getSimpleAuthenticationUrl($action, \FACTFinder\Util\Parameters $parameters) { $configuration = $this->configuration; $ts = time() . '000'; //milliseconds needed but won't be considered $authenticationParameters = "timestamp=" . $ts . '&username='******'&password='******'?' . $parameters->toJavaQueryString() . (count($parameters) ? '&' : '') . $authenticationParameters; $this->log->info("Request Url: " . $url); return $url; }