title: Updating BootStrapContext with new SessionSecurityToken when using Sliding sessions in WIF with the SAM and Thinktecture IdentityModel
body: <p>When using sliding sessions in WIF with the session authentication module (SAM) and Thinktecture IdentityModel as described in <a href="http://brockallen.com/2013/02/17/sliding-sessions-in-wif-with-the-session-authentication-module-sam-and-thinktecture-identitymodel/" rel="nofollow" title="brockallen's blog">brockallen's blog</a>.
  The session security token issued and written to the cookie has it's "valid to" extended as required and the cookie is set accordingly.</p>
  
  <p>But, the BootStrapToken serialized to the current claims Identity remains the old one, with the potentially expired token. This causes problems when trying to use the bootstrap context token for different reasons (among them could be <a href="http://www.cloudidentity.com/blog/2013/01/09/using-the-jwt-handler-for-implementing-poor-man-s-delegation-actas/" rel="nofollow" title="Implementing “Poor Man”’s Delegation">Implementing “Poor Man”’s Delegation</a>) .</p>
  
  <p>What is the best way to update the bootstrap token with the new issued token?</p>