@Override
  public boolean init(Cache cache) {
    if (cache == null) {
      throw new IllegalArgumentException(NULL_CACHE_ERROR_MESSAGE);
    }

    if (System.getProperty(ALLOW_UNTRUSTED_METHOD_INVOCATION_SYSTEM_PROPERTY) != null) {
      logger.warn(DEPRECATION_WARNING);
    }

    if (isSecurityDisabled((InternalCache) cache) || ALLOW_UNTRUSTED_METHOD_INVOCATION) {
      authorizer = NO_OP_AUTHORIZER;
    } else {
      authorizer = new RestrictedMethodAuthorizer(cache);
    }

    return true;
  }
Delete this once {@code ALLOW_UNTRUSTED_METHOD_INVOCATION} is removed.
Keeping it here and public to avoid using using the same constant String across classes.
geode-core/src/main/java/org/apache/geode/cache/query/internal/QueryConfigurationServiceImpl.java