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=' . $configuration->getUserName()
                        . '&password=' . md5($configuration->getPassword());

        $url = $this->buildAddress($action)
             . '?' . $parameters->toJavaQueryString()
             . (count($parameters) ? '&' : '') . $authenticationParameters;

        $this->log->info("Request Url: " . $url);
        return $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=' . $configuration->getUserName()
                        . '&password=' . md5($configuration->getPassword());

        $url = $this->buildAddress($action)
             . '?' . $parameters->toJavaQueryString()
             . (count($parameters) ? '&' : '') . $authenticationParameters;

        $this->log->info("Request Url: " . $url);
        return $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=' . $ configuration -> getUserName ( ) . '&password=' . md5 ( $ configuration -> getPassword ( ) ) ; $ url = $ this -> buildAddress ( $ action ) . '?' . $ parameters -> toJavaQueryString ( ) . ( count ( $ parameters ) ? '&' : '' ) . $ authenticationParameters ; $ this -> log -> info ( "Request Url: " . $ url ) ; return $ url ; }
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.
Get URL with simple authentication encryption .