You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by ch...@apache.org on 2009/07/21 11:44:20 UTC
svn commit: r796215 -
/incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php
Author: chabotc
Date: Tue Jul 21 09:44:20 2009
New Revision: 796215
URL: http://svn.apache.org/viewvc?rev=796215&view=rev
Log:
SHINDIG-1122 instance a SigningFetcherFactory before fetching signed gadget resources
Modified:
incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php
Modified: incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php?rev=796215&r1=796214&r2=796215&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php Tue Jul 21 09:44:20 2009
@@ -241,6 +241,7 @@
$signedRequests[$key] = $request;
}
if (count($signedRequests)) {
+ $signingFetcherFactory = new SigningFetcherFactory(Config::get("private_key_file"));
$remoteContent = new BasicRemoteContent(new BasicRemoteContentFetcher(), $signingFetcherFactory);
$resps = $remoteContent->multiFetch($signedRequests);
foreach ($resps as $response) {