mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
improve caching of roles and permissions
This commit is contained in:
@@ -478,7 +478,7 @@ public class ScmRealmTest
|
||||
|
||||
CacheManager cacheManager = new MapCacheManager();
|
||||
|
||||
PermissionCollector collector = new PermissionCollector(
|
||||
AuthorizationCollector collector = new AuthorizationCollector(
|
||||
cacheManager,
|
||||
repositoryDAO,
|
||||
securitySystem,
|
||||
@@ -488,7 +488,7 @@ public class ScmRealmTest
|
||||
return new ScmRealm(
|
||||
new ScmConfiguration(),
|
||||
collector,
|
||||
cacheManager,
|
||||
// cacheManager,
|
||||
userManager,
|
||||
groupManager,
|
||||
userDAO,
|
||||
|
||||
Reference in New Issue
Block a user