aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-consumers
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-02-18 09:28:48 +0000
committerOlivier Lamy <olamy@apache.org>2013-02-18 09:28:48 +0000
commit8364c17d3a05e12da8ecc159c629047522d29f8a (patch)
treea8e63142a41e8ee608c575a7323c4ee69386421e /archiva-modules/archiva-base/archiva-consumers
parent8a34bce31c49f27e0c17e6a9e6c67834b8015ec4 (diff)
downloadarchiva-8364c17d3a05e12da8ecc159c629047522d29f8a.tar.gz
archiva-8364c17d3a05e12da8ecc159c629047522d29f8a.zip
service to provide available rbacmanager implementations informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-consumers')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java28
1 files changed, 19 insertions, 9 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
index 2e6f89182..416123b0a 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
@@ -44,50 +44,60 @@ public class TestRBACManager implements RBACManager
public void initialize()
{
- //To change body of implemented methods use File | Settings | File Templates.
+
+ }
+
+ public boolean isFinalImplementation()
+ {
+ return false;
+ }
+
+ public String getDescriptionKey()
+ {
+ return "archiva.redback.rbacmanager.test";
}
public void addListener( RBACManagerListener listener )
{
- //To change body of implemented methods use File | Settings | File Templates.
+
}
public void removeListener( RBACManagerListener listener )
{
- //To change body of implemented methods use File | Settings | File Templates.
+
}
public Role createRole( String name )
{
- return null; //To change body of implemented methods use File | Settings | File Templates.
+ return null;
}
public boolean roleExists( String name )
{
- return false; //To change body of implemented methods use File | Settings | File Templates.
+ return false;
}
public boolean roleExists( Role role )
{
- return false; //To change body of implemented methods use File | Settings | File Templates.
+ return false;
}
public Role saveRole( Role role )
throws RbacObjectInvalidException, RbacManagerException
{
- return null; //To change body of implemented methods use File | Settings | File Templates.
+ return null;
}
public void saveRoles( Collection<Role> roles )
throws RbacObjectInvalidException, RbacManagerException
{
- //To change body of implemented methods use File | Settings | File Templates.
+
}
public Role getRole( String roleName )
throws RbacObjectNotFoundException, RbacManagerException
{
- return null; //To change body of implemented methods use File | Settings | File Templates.
+ return null;
}
public Map<String, Role> getRoles( Collection<String> roleNames )