protected function getAdvancedAuthenticationUrl(
        $action,
        \FACTFinder\Util\Parameters $parameters
    ) {
        $configuration = $this->configuration;

        $ts         = time() . '000'; //milliseconds needed
        $prefix     = $configuration->getAuthenticationPrefix();
        $postfix    = $configuration->getAuthenticationPostfix();
        $hashedPW   = md5($prefix
                    . $ts
                    . md5($configuration->getPassword())
                    . $postfix);
        $authenticationParameters = 'timestamp=' . $ts
                                  . '&username=' . $configuration->getUserName()
                                  . '&password=' . $hashedPW;

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

        $this->log->info("Request Url: " . $url);
        return $url;
    }
protected function getAdvancedAuthenticationUrl(
        $action,
        \FACTFinder\Util\Parameters $parameters
    ) {
        $configuration = $this->configuration;

        $ts         = time() . '000'; //milliseconds needed
        $prefix     = $configuration->getAuthenticationPrefix();
        $postfix    = $configuration->getAuthenticationPostfix();
        $hashedPW   = md5($prefix
                    . $ts
                    . md5($configuration->getPassword())
                    . $postfix);
        $authenticationParameters = 'timestamp=' . $ts
                                  . '&username=' . $configuration->getUserName()
                                  . '&password=' . $hashedPW;

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

        $this->log->info("Request Url: " . $url);
        return $url;
    }
protected function getAdvancedAuthenticationUrl ( $ action , \ FACTFinder \ Util \ Parameters $ parameters ) { $ configuration = $ this -> configuration ; $ ts = time ( ) . '000' ; //milliseconds needed $ prefix = $ configuration -> getAuthenticationPrefix ( ) ; $ postfix = $ configuration -> getAuthenticationPostfix ( ) ; $ hashedPW = md5 ( $ prefix . $ ts . md5 ( $ configuration -> getPassword ( ) ) . $ postfix ) ; $ authenticationParameters = 'timestamp=' . $ ts . '&username=' . $ configuration -> getUserName ( ) . '&password=' . $ hashedPW ; $ url = $ this -> buildAddress ( $ action ) . '?' . $ parameters -> toJavaQueryString ( ) . ( count ( $ parameters ) ? '&' : '' ) . $ authenticationParameters ; $ this -> log -> info ( "Request Url: " . $ url ) ; return $ url ; }
Get URL with advanced 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 advanced authentication encryption .