List results = secm.getPoliciesOfSecurityGroup(rightGroup.getPartipiciantGroup());
// filter all business group rights permissions. group right permissions
// start with bgr.
List rights = new ArrayList();
for (int i = 0; i < results.size(); i++) {
Policy rightPolicy = (Policy) results.get(i);
String right = rightPolicy.getPermission();
if (right.indexOf(BG_RIGHT_PREFIX) == 0) rights.add(right);
}
return rights;
}