class ZMSImpl implements Authorizer, KeyStore, ZMSHandler {

    void normalizeGroupMembers(Group group) {

        Map<String, GroupMember> normalizedMembers = new HashMap<>();

        List<GroupMember> groupMembers = group.getGroupMembers();
        if (groupMembers != null) {
            for (GroupMember member : groupMembers) {

                // if our member was added to the normalized map then we
                // also need to set the principal type

                if (addNormalizedGroupMember(normalizedMembers, member)) {
                    member.setPrincipalType(principalType(member.getMemberName()));
                }
            }
        }

        group.setGroupMembers(new ArrayList<>(normalizedMembers.values()));
    }

    public  ZMSImpl();

}