Package de.mhus.lib.core.security
Interface ModifyAccountApi
-
public interface ModifyAccountApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivateAccount(String username, boolean active)voidappendGroups(String username, String... group)voidchangeAccount(String username, IReadProperties properties)voidchangePassword(String username, String newPassword)voidchangePasswordInternal(String username, String md5Password)voidcreateAccount(String username, String password, IReadProperties properties)voiddeleteAccount(String username)Collection<String>getAccountList(String filter)Collection<String>getGroups(String username)voidremoveGroups(String username, String... group)
-
-
-
Method Detail
-
createAccount
void createAccount(String username, String password, IReadProperties properties) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
deleteAccount
void deleteAccount(String username) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
changePassword
void changePassword(String username, String newPassword) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
changeAccount
void changeAccount(String username, IReadProperties properties) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
activateAccount
void activateAccount(String username, boolean active) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
appendGroups
void appendGroups(String username, String... group) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
removeGroups
void removeGroups(String username, String... group) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
getGroups
Collection<String> getGroups(String username) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
getAccountList
Collection<String> getAccountList(String filter)
-
-