public static PrincipalType valueOfIgnoreCase(String type) {
      return valueOf(type.toUpperCase());
    }
Get the enum value for the given principal type name string, ignoring case.

@param type  the principal type name

@return the enum value for the given type name
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/LdapSyncSpecEntity.java