public class CrowdManager extends Object
Modifier and Type | Method and Description |
---|---|
void |
authenticate(String username,
String password)
Authenticates a user with crowd.
|
List<String> |
getAllGroupNames()
Get all the crowd groups
|
List<User> |
getAllUsers()
Get all the users from Crowd
|
Group |
getGroup(String groupName)
Get the description of a group from crowd
|
List<String> |
getGroupMembers(String groupName)
Get the members of the given group
|
static CrowdManager |
getInstance() |
List<String> |
getUserGroups(String username)
Get all the groups of a given username
|
public static CrowdManager getInstance()
public void authenticate(String username, String password) throws RemoteException
RemoteException
username
- password
- RemoteException
public List<User> getAllUsers() throws RemoteException
RemoteException
public List<String> getAllGroupNames() throws RemoteException
RemoteException
public List<String> getUserGroups(String username) throws RemoteException
username
- RemoteException
public Group getGroup(String groupName) throws RemoteException
groupName
- RemoteException
public List<String> getGroupMembers(String groupName) throws RemoteException
groupName
- RemoteException
Copyright © 2003-2008 Jive Software.