public void requirePermission(User user, String request, String filterUser, Action perm)
    throws IOException {
    requireGlobalPermission(user, request, perm, null, null, filterUser);
  }
Authorizes that the current user has global privileges for the given action.
@param user       Active user to which authorization checks should be applied
@param request    Request type
@param filterUser User name to be filtered from permission as requested
@param perm       The action being requested
@throws IOException           if obtaining the current user fails
@throws AccessDeniedException if authorization is denied
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessChecker.java