]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org/argeo/security/UserAdminService.java
1 package org
.argeo
.security
;
5 public interface UserAdminService
{
9 public void newUser(ArgeoUser argeoUser
);
11 public ArgeoUser
getUser(String username
);
13 public Set
<ArgeoUser
> listUsers();
15 public Boolean
userExists(String username
);
17 public void updateUser(ArgeoUser user
);
19 public void updateUserPassword(String username
, String password
);
21 /** List users having this role (except the super user). */
22 public Set
<ArgeoUser
> listUsersInRole(String role
);
24 public void deleteUser(String username
);
29 public void newRole(String role
);
31 public Set
<String
> listEditableRoles();
33 public void deleteRole(String role
);
39 /** @deprecated Use ${link SystemExecutionService} instead.*/
40 public Runnable
wrapWithSystemAuthentication(final Runnable runnable
);