class ZMSImpl implements Authorizer, KeyStore, ZMSHandler {

    void validateEntity(String entityName, Entity entity) {

        final String caller = "validateentity";

        if (!entityName.equals(entity.getName())) {
            throw ZMSUtils.requestError("validateEntity: Entity name mismatch: " + entityName + " != " + entity.getName(), caller);
        }
        if (entity.getValue() == null) {
            throw ZMSUtils.requestError("validateEntity: Entity value is empty: " + entityName, caller);
        }
    }

    public  ZMSImpl();

}