public static Privilege getPrivilege(PrivilegeType privilegeType) {
    return Registry.get(privilegeType);
  }
PrivilegeRegistry is used to do privilege lookups. Given a privilege name, it
will return the Privilege object.
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/PrivilegeRegistry.java