mirror of https://github.com/apache/archiva.git
fix mock service compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f652f478f
commit
ad1155b6a5
|
@ -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<ManagedRepository> getAccessibleRepositories( String principal, String operation )
|
||||
throws ArchivaSecurityException, AccessDeniedException, PrincipalNotFoundException
|
||||
{
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue