disable shiro cache for the DefaultRealm

This commit is contained in:
Eduard Heimbuch
2019-08-02 12:01:53 +02:00
parent efa551090b
commit 47e323e468

View File

@@ -97,6 +97,9 @@ public class DefaultRealm extends AuthorizingRealm
matcher.setPasswordService(service);
setCredentialsMatcher(helper.wrapCredentialsMatcher(matcher));
setAuthenticationTokenClass(UsernamePasswordToken.class);
// we cache in the AuthorizationCollector
setCachingEnabled(false);
}
//~--- methods --------------------------------------------------------------