private void setupBypass(String bypassObjectTypesConf){
    bypassObjectTypes = new HashSet<HivePrivilegeObject.HivePrivilegeObjectType>();
    if (!bypassObjectTypesConf.isEmpty()){
      for (String bypassType : bypassObjectTypesConf.split(",")){
        if ((bypassType != null) && !bypassType.isEmpty()){
          bypassObjectTypes.add(HivePrivilegeObject.HivePrivilegeObjectType.valueOf(bypassType));
        }
      }
    }
  }
Extends SQLStdHiveAuthorizationValidator to relax the restriction of not
being able to run dfs,set commands. To be used for testing purposes only!

In addition, it parses a setting test.hive.authz.sstd.validator.bypassObjTypes
as a comma-separated list of object types, which, if present, it will bypass
validations of all input and output objects of those types.
itests/util/src/main/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/SQLStdHiveAuthorizationValidatorForTest.java