mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 18:26:16 +01:00
disable shiro cache for the DefaultRealm
This commit is contained in:
@@ -97,6 +97,9 @@ public class DefaultRealm extends AuthorizingRealm
|
|||||||
matcher.setPasswordService(service);
|
matcher.setPasswordService(service);
|
||||||
setCredentialsMatcher(helper.wrapCredentialsMatcher(matcher));
|
setCredentialsMatcher(helper.wrapCredentialsMatcher(matcher));
|
||||||
setAuthenticationTokenClass(UsernamePasswordToken.class);
|
setAuthenticationTokenClass(UsernamePasswordToken.class);
|
||||||
|
|
||||||
|
// we cache in the AuthorizationCollector
|
||||||
|
setCachingEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//~--- methods --------------------------------------------------------------
|
//~--- methods --------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user