Hi, I don't think your problem is caused by shiro caching a negative response - it should not do that because it does not manage the creation of accounts.
The realm uses hibernate, maybe hibernate or your UserAccountService caches a SQL result, that does not contain the new user? Regards, Andreas On 22.03.2012 16:42, blacksensei wrote: > I've been using shiro for few month and my experience is limited. This > morning i've found out that i could not authenticate new users i've just > added to the database using sql script just like how i set up users when > writing fixtures previously. > > I'm using shiro in a maven, Spring 3.0.5 MVC and Hibernate 3.6.1 project > using freemarker+sitemesh for public interface and using ZK for admin. admin > uses Shiro annotations. > > i've not set any caching manager like ehcache thinking i would do in > production.but when debugging i could see varialbe like > AuthorizationCachingEnabled=true, cachingEnabled=true etc .. > > Am wondering if i've wrongly configured something you can see my > configuration on http://pastie.org/3648300 pastie > > i would be most grateful if you can lend a hand and explain what's wrong. > thanks > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/How-does-shiro-caching-works-can-t-authenticate-new-users-from-database-tp7395859p7395859.html > Sent from the Shiro User mailing list archive at Nabble.com.
