LDAPHierarchicalAuthentication fails when the LDAP returns mixed case email address -----------------------------------------------------------------------------------
Key: DS-477 URL: http://jira.dspace.org/jira/browse/DS-477 Project: DSpace 1.x Issue Type: Bug Components: DSpace API Affects Versions: 1.5.2, 1.5.1, 1.5.0 Reporter: Graham Triggs Assignee: Graham Triggs Priority: Critical Fix For: 1.6.0 All EPerson objects store the email address lowercase in the database, expecting findByEmail to be passed with a lowercase email address. LDAPHierarchicalAuthentication fails to do this, so on a second login, and mixed case email addresses will fail to resolve to the existing eperson object, and attempt to create a new one - this will fail, due to the email address being lowercased during EPerson creation, and conflicting with an existing entry). Will fix by forcing findByEmail to lowercase the email address, ensuring that the lookup is consistent with the storage -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel