private Set<GroupPrincipal> buildRoles(String roles) {
Set<GroupPrincipal> s = new HashSet<GroupPrincipal>();
StringTokenizer iter = new StringTokenizer(roles, ",");
while (iter.hasMoreTokens()) {
String name = iter.nextToken().trim();
s.add(new GroupPrincipal(name));
}
return s;
}