> Does EhCache support this? It looks like it may be able to do this, as of a few months ago:
http://gregluck.com/blog/archives/2011/02/ehcache-2-4-with-the-new-search-feature-is-out/ I've not used this myself, so I'm not entirely sure. It looks like it would work, so it might be worth checking out. If it does, you probably won't need two caches and can use the EnterpriseCacheSessionDAO directly. (Shiro won't 'know' about your user ID-based queries - you would use the Ehcache Cache API directly for that functionality, but at least the same backing cache can be used for both your needs and Shiro's). Cheers, -- Les Hazlewood CTO, Katasoft | http://www.katasoft.com | 888.391.5282 twitter: http://twitter.com/lhazlewood katasoft blog: http://www.katasoft.com/blogs/lhazlewood personal blog: http://leshazlewood.com
