[DS-60] netid.toLowerCase() in different classes and methods - ID: 2458187

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Andrea Bollini
2009-03-11 14:33:44 +00:00
parent 8e446e0a1a
commit e3f9025213
6 changed files with 10 additions and 14 deletions

View File

@@ -262,7 +262,7 @@ public class LDAPHierarchicalAuthentication
log.info(LogManager.getHeader(context,
"type=ldap-login", "type=ldap_but_already_email"));
context.setIgnoreAuthorization(true);
eperson.setNetid(netid);
eperson.setNetid(netid.toLowerCase());
eperson.update();
context.commit();
context.setIgnoreAuthorization(false);
@@ -298,7 +298,7 @@ public class LDAPHierarchicalAuthentication
{
eperson.setMetadata("phone", ldap.ldapPhone);
}
eperson.setNetid(netid);
eperson.setNetid(netid.toLowerCase());
eperson.setCanLogIn(true);
AuthenticationManager.initEPerson(context, request, eperson);
eperson.update();