]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ArgeoSecurityDao.java
API completely implemented
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / ArgeoSecurityDao.java
1 package org.argeo.security;
2
3 import java.util.List;
4
5 public interface ArgeoSecurityDao {
6 public List<ArgeoUser> listUsers();
7
8 public List<String> listEditableRoles();
9
10 public void create(ArgeoUser user);
11
12 public void update(ArgeoUser user);
13
14 public void delete(String username);
15
16 public void createRole(String role, String superuserName);
17
18 public void deleteRole(String role);
19
20 public void updatePassword(String oldPassword, String newPassword);
21
22 public Boolean userExists(String username);
23
24 public ArgeoUser getUser(String username);
25 }