public interface UserManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
createGroup(String groupName)
create a new group
|
boolean |
createUser(String name,
String pass)
Add a user
|
boolean |
deleteAuthorizable(String groupName)
Delete a group
|
GCubeGroup |
getGroup(String group)
Return a group by the name
|
List<GCubeGroup> |
getGroups()
Get groups
|
List<String> |
getUsers()
Get users
|
boolean createUser(String name, String pass) throws InternalErrorException
name - of the new user.InternalErrorExceptionList<String> getUsers() throws InternalErrorException
InternalErrorExceptionList<GCubeGroup> getGroups() throws InternalErrorException
InternalErrorExceptionGCubeGroup getGroup(String group) throws InternalErrorException
name - of the new group.InternalErrorExceptionboolean createGroup(String groupName) throws InternalErrorException
name - of the new group.InternalErrorExceptionboolean deleteAuthorizable(String groupName) throws InternalErrorException
groupName - InternalErrorExceptionCopyright © 2014. All Rights Reserved.