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:
Olivier Lamy 2012-03-16 14:01:57 +00:00
parent 6f652f478f
commit ad1155b6a5
1 changed files with 8 additions and 0 deletions

View File

@ -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();
}
}