/** * Returns the individual components of a relative distinguished name * (RDN), normalized. * * @param rdn The relative distinguished name, or in other words, * the left-most component of a distinguished name. *<br><br> * @param noTypes If true, returns only the values of the * components, and not the names of the component, for * example "Babs Jensen" instead of "cn=Babs Jensen". * * @return An array of strings representing the individual components * of an RDN, or null if the RDN is not a valid RDN. */ public static String[] explodeRDN(String rdn, boolean noTypes) { RDN rdnToExplode = new RDN(rdn); return rdnToExplode.explodeRDN(noTypes); }