private static synchronized void populateName2Type() {
    if(name2Type != null){
      return;
    }
    name2Type = new HashMap<String, PrivilegeType>();
    for(PrivilegeType privType : PrivilegeType.values()){
      name2Type.put(privType.toString().toLowerCase(), privType);
    }
  }
Do case insensitive lookup of PrivilegeType with this name
@param privilegeName
@return corresponding PrivilegeType
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/PrivilegeType.java