Improve Security
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / ArgeoSecurityService.java
index e6d8274b5b2fe6ba5d21500934407794c34718e0..732ec72c2c8caacf20737344a3e1ffdd4f80d11e 100644 (file)
@@ -16,6 +16,8 @@
 
 package org.argeo.security;
 
+import java.util.List;
+
 /**
  * High level access to the user referential (independent from the underlying
  * storage).
@@ -36,4 +38,8 @@ public interface ArgeoSecurityService {
        public ArgeoSecurityDao getSecurityDao();
 
        public Runnable wrapWithSystemAuthentication(final Runnable runnable);
+       
+       /** List users having this role (except the super user). */
+       public List<ArgeoUser> listUsersInRole(String role);
+
 }