Review Board 1.7.22

CommonContainer token refresh changes for a better UX when tokens expire.

Review Request #3180 - Created Dec. 13, 2011 and submitted

Dan Dumont
hsaputra, jcian, lixu, rbaxter, ssievers
Initial review of 1st change.  Allowing common container to manage container token refreshes.  Also, refresh of gadget security tokens will now wait for valid container security token before trying to refresh.
Tested code in a private container with some examples of setting no refresh (ttl = 0) and setting an initial token (if it was written by jsp page to avoid transaction) etc..
Review request changed
Updated (Jan. 13, 2012, 4:44 p.m.)
Update patch against latest shindig revision
Ship it!
Posted (Jan. 13, 2012, 5:53 p.m.)
Ship it!
Posted (Jan. 13, 2012, 6:05 p.m.)
Committed r1231211.

Thanks everyone for the reviews!