ALF-10997: User ID case sensitivity issues with internal NTLM authentication

- Fix by Pavel

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2011-12-16 13:11:31 +00:00
parent 7d17866f84
commit 925ba4d00d

View File

@@ -446,6 +446,14 @@ public abstract class BaseNTLMAuthenticationFilter extends BaseSSOAuthentication
String workstation = type3Msg.getWorkstation();
String domain = type3Msg.getDomain();
// ALF-10997 fix, normalize the userName
String normalized = personService.getUserIdentifier(userName);
if (normalized != null)
{
userName = normalized;
}
boolean authenticated = false;
// Check if we are using cached details for the authentication