On Mon, Jul 16, 2012 at 10:36 AM, George Christman <gchrist...@cardaddy.com> wrote: > Hello, I'm using tapestry-security and I'm seeing "realm.AuthorizingRealm No > cache or cacheManager properties have been set. Authorization cache cannot > be obtained" appear numerous times in my console. I was wondering if anybody > has any experience with dealing with this error or how to resolve it?
You have several options. For a small installation, use something like the following: public class UserRealm extends AuthorizingRealm { public UserRealm() { super(new MemoryConstrainedCacheManager()); For an enterprise installation, consider using an EhCache. Shiro has pretty reasonable documentation on caching strategies, see http://shiro.apache.org/caching.html and http://shiro.apache.org/static/current/apidocs/org/apache/shiro/realm/AuthorizingRealm.html Kalle --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org