*/
public enum LdifName {
// Attributes
- cn, sn, uid, displayName, objectClass,userPassword,
+ cn, sn, uid, mail, displayName, objectClass, userpassword,
// Object classes
inetOrgPerson, organizationalPerson, person, groupOfNames, top;
- public final static String LDAP_PREFIX = "ldap:";
+ public final static String PREFIX = "ldap:";
+ /** For use as XML name. */
public String property() {
- return LDAP_PREFIX + name();
+ return PREFIX + name();
}
public static LdifName local(String property) {
- String local = property.substring(LDAP_PREFIX.length());
- return LdifName.valueOf(local);
+ return LdifName.valueOf(property.substring(PREFIX.length()));
}
}