public interface UserManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
associateUserToGroup(String scope,
String username,
String administrator)
Associate a user with a scope group
|
GCubeGroup |
createGroup(String groupName)
create a new group
|
boolean |
createUser(String name)
Create a new user
|
boolean |
deleteAuthorizable(String user)
Delete a group
|
GCubeGroup |
getGroup(String groupname)
Return a group by the name
|
List<GCubeGroup> |
getGroups()
Get groups
|
List<String> |
getUsers()
Get users
|
boolean |
removeUserFromGroup(String scope,
String username,
String administrator)
Remove a user from a scope group
|
boolean createUser(String name) throws InternalErrorException
name - of the new uservre - to which the user belongsInternalErrorExceptionList<String> getUsers() throws InternalErrorException
InternalErrorExceptionList<GCubeGroup> getGroups() throws InternalErrorException
InternalErrorExceptionGCubeGroup getGroup(String groupname) throws InternalErrorException
groupname: - name of the new group.InternalErrorExceptionGCubeGroup createGroup(String groupName) throws InternalErrorException
groupName: - name of the new group.InternalErrorExceptionboolean deleteAuthorizable(String user) throws InternalErrorException
user: - name of a group or userInternalErrorExceptionboolean associateUserToGroup(String scope, String username, String administrator) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing useradministrator: - the admin of the VRE/scopeInternalErrorExceptionItemNotFoundExceptionboolean removeUserFromGroup(String scope, String username, String administrator) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing useradministrator: - the admin of the VRE/scopeInternalErrorExceptionItemNotFoundExceptionCopyright © 2014. All Rights Reserved.