diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java index 3e8cf50a4..73e413422 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java @@ -19,6 +19,8 @@ package org.apache.archiva.security; * under the License. */ +import org.apache.archiva.admin.model.beans.ManagedRepository; + import java.util.Collections; import java.util.List; @@ -74,4 +76,10 @@ public class UserRepositoriesStub { this.repoIds = repoIds; } + + public List getAccessibleRepositories( String principal, String operation ) + throws ArchivaSecurityException, AccessDeniedException, PrincipalNotFoundException + { + return Collections.emptyList(); + } }