if (email.length() == 0) {
addErrorMessage("Please enter an e-mail address.");
}
if (className.equals(LDAPUser.class.getName())) {
LDAPUser ldapUser = new LDAPUser(((FileUserManager) getUserManager())
.getConfigurationDirectory());
ContainerUtil.enableLogging(ldapUser, getLogger());
try {
if (!ldapUser.existsUser(ldapId)) {
addErrorMessage("ldap_no_such_user", new String[]{ldapId});
}
} catch (AccessControlException e) {
throw new UsecaseException(e);
}