archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1301524 - /archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java
Date Fri, 16 Mar 2012 14:01:57 GMT
Author: olamy
Date: Fri Mar 16 14:01:57 2012
New Revision: 1301524

URL: http://svn.apache.org/viewvc?rev=1301524&view=rev
Log:
fix mock service compilation

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java?rev=1301524&r1=1301523&r2=1301524&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java
Fri Mar 16 14:01:57 2012
@@ -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();
+    }
 }



Mime
View raw message