You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by et...@apache.org on 2008/04/12 03:29:35 UTC
svn commit: r647362 -
/incubator/shindig/trunk/javascript/container/gadgets.js
Author: etnu
Date: Fri Apr 11 18:29:32 2008
New Revision: 647362
URL: http://svn.apache.org/viewvc?rev=647362&view=rev
Log:
Applied Brian Eaton's patch to resolve security token generation.
Modified:
incubator/shindig/trunk/javascript/container/gadgets.js
Modified: incubator/shindig/trunk/javascript/container/gadgets.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/container/gadgets.js?rev=647362&r1=647361&r2=647362&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/container/gadgets.js (original)
+++ incubator/shindig/trunk/javascript/container/gadgets.js Fri Apr 11 18:29:32 2008
@@ -380,6 +380,11 @@
this[name] = params[name];
}
}
+ if (!this.secureToken) {
+ // Assume that the default security token implementation is
+ // in use on the server.
+ this.secureToken = 'john.doe:john.doe:appid:synd:url:0';
+ }
};
gadgets.Gadget.prototype.getUserPrefs = function() {