private boolean isOperationAllowed(String user) {
      return allowedUsers.contains(user);
  }
Test HiveAuthorizer for invoking checkPrivilege Methods for authorization call
Authorizes user sam and rob.
ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/DummyHiveAuthorizer.java