combo.append(role.getName());
count++;
}
Set principals = new HashSet();
principals.add(SubjectHelper.getBestPrincipal(currentSubject, User.class));
principals.add(new TransientRole(combo.toString()));
Subject subject =
new Subject(true, principals, new HashSet(), new HashSet());
return subject;
}