public List getReaders() throws ConnectException, AdminException {
GetRightsRequest request = new GetRightsRequest(getName());
GetRightsReply reply = (GetRightsReply) doRequest(request);
Vector list = new Vector();
Hashtable users = reply.getReaders();
if (users != null) {
String name;
for (Enumeration names = users.keys(); names.hasMoreElements();) {
name = (String) names.nextElement();
list.add(new User(name, (String) users.get(name)));
}
}
return list;
}