public static String getShortName(String rdn) {
    return ((rdn.split(","))[0].split("="))[1];
  }
Gets value part of the first attribute in the provided RDN.
<br>
<b>Example:</b>
<br>
For RDN "cn=user1,ou=CORP" this method will return "user1"
@param rdn Relative Distinguished Name
@return value part of the first attribute
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ldap/LdapUtils.java