User names should be handled case insensitively

Description

Login and password reset with differently cased letters in the user name is not possible right now.

Examples for current problem:

  • john@test.com cannot login with John@test.com

  • Jim@test.com cannot reset his password with jim@test.com

Solution:

  • Store username only in lower case in PrincipalManager.setPrincipalName()

  • Convert username to lower case in CookieLoginResource

  • Convert username to lower case in PasswordResetResource

Environment

None

Activity

Show:
Hannes Ebner
December 9, 2015, 2:55 PM

Improved handling of user names, defaulting to lower case now

Fixed

Assignee

Hannes Ebner

Reporter

Hannes Ebner

Labels

None

Fix versions

Priority

Normal