class ZMSImpl implements Authorizer, KeyStore, ZMSHandler {

    boolean isConsistentGroupName(final String domainName, final String groupName, Group group) {

        String resourceName = ZMSUtils.groupResourceName(domainName, groupName);

        // first lets assume we have the expected name specified in the group

        if (resourceName.equals(group.getName())) {
            return true;
        }

        // if not check to see if the group contains the relative local name
        // part only instead of the expected resourceName and update accordingly

        if (groupName.equals(group.getName())) {
            group.setName(resourceName);
            return true;
        }

        // we have a mismatch

        return false;
    }

    public  ZMSImpl();

}