<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>&amp;quot;Caching&amp;quot; cards</title><link>http://blogs.msdn.com/vbertocci/archive/2007/05/13/quot-caching-quot-cards.aspx</link><description>Caching is one of the topics that sooner or later arise when you reason about cardspace. If I use the same card across different applications at the same time, or in a short period of time, can't I cache the card? If with a certain application I reuse</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: "Caching" cards</title><link>http://blogs.msdn.com/vbertocci/archive/2007/05/13/quot-caching-quot-cards.aspx#2988983</link><pubDate>Wed, 30 May 2007 17:31:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2988983</guid><dc:creator>Marc Mercuri</dc:creator><description>&lt;P&gt;I like to think of the scenario as the equivalent of staying at a hotel. For a set period of time, you'll be at a given property and when you arrive, you leave a copy of your credit card at the front desk. This entitles you to utilize any number of the services that particular hotel provides (spa, minibar, restaurants) without asking for your credit card each time. &lt;/P&gt;
&lt;P&gt;From a usability standpoint, you'd prefer not to be prompted for your card each time, and that instead they reference the 'cache' at the front desk. This leaves you free to easily consume any of the service within the known universe of the property.&lt;/P&gt;</description></item><item><title>re: "Caching" cards</title><link>http://blogs.msdn.com/vbertocci/archive/2007/05/13/quot-caching-quot-cards.aspx#3017414</link><pubDate>Fri, 01 Jun 2007 06:22:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3017414</guid><dc:creator>vibro</dc:creator><description>&lt;p&gt;Your expectation is legitimate, but I would not say that the scenario requires &amp;quot;caching&amp;quot;: it requires standard session building capabilities. When you check in in the hotel the person at the desk will collect information about you and it will keep those in the equivalent of a session. During your stay you will enjoy different services requiring (eventually) the use of a credit card, but the credit card info will not be used &amp;quot;as is&amp;quot; like it would happen to a cached resource. Often the credit card claims won't even emerge during the transaction (read - uncorking something at the minibar) but much later in the process. If the sheer existence of a credit card number is enough for me to be enabled to perform the operation, what this operation is asking for is a different kind of claim (&amp;quot;HasRegisteredCreditCardAtCheckin&amp;quot;). I am not accessing the resource at all hence I am not using caching in the sense &amp;quot;a temporary place from where getting faster access when the item is needed again&amp;quot;. It's just a matter of how you chose the semantic of the term; if you have a set of services offered by the same RP, and for obtaining SSO across them you save the token (or selected info from it) on the RP side, rather than caching I talk of &amp;quot;session&amp;quot;.&lt;/p&gt;
&lt;p&gt;If you want to stay in the hospitality business, here's one example that IMHO embodies the idea of token caching.&lt;/p&gt;
&lt;p&gt;When you go to those vacation all-inclusive in touristic villages, you can literally eat and drink anything you want, any time you want (not good for the waistline but hey, it's vacation :-)). However you share the place with other customers who, more wisely, decided to save some money and pounds by refusing the all-inclusive formula. Instead of forcing all-inclusive customers to continually assert their status to bartenders and massoterapists, the tour operators devised brilliant a token based way of solving the problem. &lt;/p&gt;
&lt;p&gt;Upon arrival, all-inclusive customers receive a colorful wristband which represent their status. At that point the customer will be eable to quickly affirm his status by flashing the wristband to anyone who trust the tour operator authority. In this case the token is undobtfully cached, since it is issued to the customer and it is the customer that keeps reusing it ACROSS MULTPLE SERVICES without further requesting a new one; and if there's a notion of session that's the one intrinsic in the duration of the token itself, rather than the big scope shared session data.&lt;/p&gt;
&lt;p&gt;There is another bug difference in this case. When the token cache is managed by the subject, he owns the necessary material for *using* its content; in other words the subject holds the keys associated to those tokens and that allows him to extract a token from the cache and use it for securing a new call. When the token cache is not managed by the subject, for example by the RP, it is not trivial that the token may be reused &amp;nbsp;(the session key in the token may be asymmentric) apart from &amp;nbsp;just-re reading its content, in which case it's not caching (no need to maintain the info formateed in token form). &amp;nbsp;Furthermore, even in the case in which the RP would be able to reuse tokens as is it is questionable if it should have the right to impersonate the original subject for whihc the token has been issued.&lt;/p&gt;
&lt;p&gt;it's an interesting topic :-)&lt;/p&gt;
</description></item></channel></rss>