<div>Hi Peter,</div><div><br></div><div>Thank you for your quick response. >From what I can gather from the documentation, the cache settings apply for all data stored in the cache. If possible, I want to exclude a specific attribute(s) from caching.</div>
<div><br></div><div>I do wonder about the cacheAllowance attribute of the NativeSPSessionCache. What happens when the cache expires? Will the SP refetch attributes using Attribute Query (if not present in the bearer assertion)? If so, what happens to attributes initially retrieved from the bearer assertion? Does a cacheAllowance of 0 mean that no caching is performed?</div>
<div><br></div><div>Essentially, what I need to do is make a lookup for the attribute value for each incoming request since I always need the latest value. If all attribute values are cached then I guess it is not possible without any kind of extension. Of course, this value could be fetched by the application itself, but this would need rewrites of the application and would create a non-homogeneous approach to how attributes are handled, something that is undesirable.</div>
<div><br></div><div>Kind regards,</div><div>Jonas</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 12:38 PM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* jonde973 <<a href="mailto:jonas.dehlin.crap@gmail.com">jonas.dehlin.crap@gmail.com</a>> [2012-12-14 11:25]:<br>
<div class="im">> Are the attributes retrieved via an attribute query using the "Query<br>
> AttributeResolver" cached by the SP? If so, is it possible to<br>
> disable the caching?<br>
<br>
</div>They are part of the session at the SP so resources have access to<br>
them as long as the session is valid. Regarding how much data is kept<br>
there and for how long cf.<br>
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCache" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCache</a><br>
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPStorageService" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPStorageService</a><br>
IIRC there also is a more conceptual page explaining how all settings<br>
work together somewhere,<br>
-peter<br>
<div class="HOEnZb"><div class="h5">--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>