public ExecuteFunctionOperationContext executeFunctionAuthorize(Object oneResult,
      ExecuteFunctionOperationContext executeContext) throws NotAuthorizedException {

    executeContext.setResult(oneResult);
    final String regionName = executeContext.getRegionName();
    if (!postAuthzCallback.authorizeOperation(regionName, executeContext)) {
      String errStr =
          String.format(
              "%s: In post-process: Not authorized to perform EXECUTE_REGION_FUNCTION operation on region [%s]",
              this, regionName);
      if (logger.warningEnabled()) {
        logger.warning(String.format("%s", errStr));
      }
      if (isPrincipalSerializable) {
        throw new NotAuthorizedException(errStr, principal);
      } else {
        throw new NotAuthorizedException(errStr);
      }
    } else {
      if (logger.finestEnabled()) {
        logger.finest(id
            + ": In post-process: authorized to perform EXECUTE_REGION_FUNCTION operation on region ["
            + regionName + ']');
      }
    }
    return executeContext;
  }
This class implements post-processing authorization calls for various operations. It provides
methods to invoke authorization callback ({@link AccessControl#authorizeOperation}) to invoke the
post-processing callback that may modify the results. The data being passed for the operation is
encapsulated in a {@link OperationContext} object that can be modified by the post-processing
authorization callbacks.

@since GemFire 5.5
geode-core/src/main/java/org/apache/geode/internal/security/AuthorizeRequestPP.java