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 13:01:22 UTC

svn commit: r796249 - /incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php

Author: chabotc
Date: Tue Jul 21 11:01:22 2009
New Revision: 796249

URL: http://svn.apache.org/viewvc?rev=796249&view=rev
Log:
Set a security token for signed preload requests

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=796249&r1=796248&r2=796249&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/GadgetFactory.php Tue Jul 21 11:01:22 2009
@@ -237,6 +237,7 @@
       $request = new RemoteContentRequest($requestUrl);
       $request->setAuthType(RemoteContentRequest::$AUTH_SIGNED);
       $request->setNotSignedUri($requestUrl);
+      $request->setToken($this->token);
       $request->getOptions()->ignoreCache = $this->context->getIgnoreCache();
       $signedRequests[$key] = $request;
     }