From e171f28a868d85d7459b0d83aa0491babe979a1d Mon Sep 17 00:00:00 2001 From: Derek Hulley Date: Tue, 14 Feb 2006 18:35:20 +0000 Subject: [PATCH] Minor debug helper git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../security/authentication/RepositoryAuthenticationDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/security/authentication/RepositoryAuthenticationDao.java b/source/java/org/alfresco/repo/security/authentication/RepositoryAuthenticationDao.java index 8d9ca82c6b..baa90beb8f 100644 --- a/source/java/org/alfresco/repo/security/authentication/RepositoryAuthenticationDao.java +++ b/source/java/org/alfresco/repo/security/authentication/RepositoryAuthenticationDao.java @@ -108,7 +108,7 @@ public class RepositoryAuthenticationDao implements MutableAuthenticationDao DataAccessException { String userName = userNamesAreCaseSensitive ? caseSensitiveUserName : caseSensitiveUserName.toLowerCase(); - NodeRef userRef = getUserOrNull(userNamesAreCaseSensitive ? userName : userName.toLowerCase()); + NodeRef userRef = getUserOrNull(userName); if (userRef == null) { throw new UsernameNotFoundException("Could not find user by userName: " + caseSensitiveUserName);