GroupDAO groups = new GroupDAO(emf);
GroupEntity adminGroup = groups.getGroup("admin");
if (adminGroup == null) {
adminGroup = new GroupEntity("admin");
MemberEntity adminMember = new MemberEntity("admin", "admin");
adminMember.setOwner(true);
adminMember.setGroup(adminGroup);
adminGroup.getMembers().add(adminMember);
MemberEntity darkstarMember = new MemberEntity("admin", "darkstar");
darkstarMember.setGroup(adminGroup);
adminGroup.getMembers().add(darkstarMember);
MemberEntity webserverMember = new MemberEntity("admin", "webserver");
webserverMember.setGroup(adminGroup);
adminGroup.getMembers().add(webserverMember);
MemberEntity sasMember = new MemberEntity("admin", "sasxprovider");
sasMember.setGroup(adminGroup);
adminGroup.getMembers().add(sasMember);
groups.updateGroup(adminGroup);
logger.warning("Created initial group " + adminGroup.getId() +