aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-web-common/src/test
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-12-16 01:26:30 +0000
committerOlivier Lamy <olamy@apache.org>2013-12-16 01:26:30 +0000
commit6fee2f195fa1d7749803e5e8e6531466cdb0ab72 (patch)
tree5e9b67aa28af7e6f9a9f69693db39c851567e511 /archiva-modules/archiva-web/archiva-web-common/src/test
parent078b43dc9489182e3f08f8f5b5331ab773db82d2 (diff)
downloadarchiva-6fee2f195fa1d7749803e5e8e6531466cdb0ab72.tar.gz
archiva-6fee2f195fa1d7749803e5e8e6531466cdb0ab72.zip
implements findUser with useCache method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551100 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common/src/test')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/SecuritySystemStub.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/SecuritySystemStub.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/SecuritySystemStub.java
index 4b3bec808..f38a0d6a6 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/SecuritySystemStub.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/SecuritySystemStub.java
@@ -32,6 +32,7 @@ import org.apache.archiva.redback.system.SecuritySession;
import org.apache.archiva.redback.system.SecuritySystem;
import org.apache.archiva.redback.users.User;
import org.apache.archiva.redback.users.UserManager;
+import org.apache.archiva.redback.users.UserManagerException;
import org.apache.archiva.redback.users.UserManagerListener;
import org.apache.archiva.redback.users.UserNotFoundException;
import org.apache.archiva.redback.users.UserQuery;
@@ -359,6 +360,13 @@ public class SecuritySystemStub
return null; //To change body of implemented methods use File | Settings | File Templates.
}
+ @Override
+ public User findUser( String username, boolean useCache )
+ throws UserNotFoundException, UserManagerException
+ {
+ return null;
+ }
+
public User getGuestUser()
throws UserNotFoundException
{