Interface UserManagement
-
- All Known Implementing Classes:
ActiveMQBasicSecurityManager
,PropertiesLoginModuleConfigurator
public interface UserManagement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNewUser(java.lang.String user, java.lang.String password, java.lang.String... roles)
java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
listUser(java.lang.String user)
void
removeUser(java.lang.String user)
void
updateUser(java.lang.String username, java.lang.String password, java.lang.String... roles)
-
-
-
Method Detail
-
addNewUser
void addNewUser(java.lang.String user, java.lang.String password, java.lang.String... roles) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeUser
void removeUser(java.lang.String user) throws java.lang.Exception
- Throws:
java.lang.Exception
-
listUser
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> listUser(java.lang.String user)
-
updateUser
void updateUser(java.lang.String username, java.lang.String password, java.lang.String... roles) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-