mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
start implementation of a new security system to allow global permissions for repositories
This commit is contained in:
@@ -459,9 +459,16 @@ public class ScmRealmTest
|
||||
AuthenticationResult.NOT_FOUND
|
||||
);
|
||||
|
||||
SecuritySystem securitySystem = mock(SecuritySystem.class);
|
||||
when(
|
||||
securitySystem.getConfiguration()
|
||||
).thenReturn(
|
||||
new SecurityConfiguration()
|
||||
);
|
||||
|
||||
return new ScmRealm(
|
||||
new ScmConfiguration(),
|
||||
securitySystem,
|
||||
new MapCacheManager(),
|
||||
userManager,
|
||||
groupManager,
|
||||
|
||||
Reference in New Issue
Block a user