String[] groups = gpc.getGroups();
List<String> asGroupNames = new ArrayList<String>();
for (String groupName : groups) {
Group mappedGroup = (Group) securityMap.get(new Group(groupName));
if (mappedGroup != null) {
debug("got mapped group as [" + groupName + "] for eis-group [" + mappedGroup.getName() + "]");
asGroupNames.add(mappedGroup.getName());
}
}
String[] asGroupsString = new String[asGroupNames.size()];
for (int i = 0; i < asGroupNames.size(); i++) {