X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=security%2Fruntime%2Forg.argeo.security.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fsecurity%2Fdao%2FUserDao.java;h=859da1b72cfd1a422bbd264f73efab0963113286;hb=f3ff1f46c8a04c4a60bbccd44e16d5880b386229;hp=7227bd860bd6e2de64d092744234a1f24861b18a;hpb=8220766ace9f3bde3a9d69890cd8307c34fe8ddd;p=lgpl%2Fargeo-commons.git diff --git a/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/dao/UserDao.java b/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/dao/UserDao.java index 7227bd860..859da1b72 100644 --- a/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/dao/UserDao.java +++ b/security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/dao/UserDao.java @@ -12,11 +12,15 @@ public interface UserDao { public void update(ArgeoUser user); public void delete(String username); - + public void updatePassword(String oldPassword, String newPassword); - + public Boolean userExists(String username); - public ArgeoUser getUser(String uname); + public ArgeoUser getUser(String username); + + public void addRoles(String username, List roles); + + public void removeRoles(String username, List roles); }