mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged 1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4421 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4462 . svn resolved root\projects\repository\source\java\org\alfresco\repo\model\filefolder\FileFolderPerformanceTester.java svn revert root\projects\repository\config\alfresco\version.properties svn resolved root\projects\3rd-party\.classpath git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -751,16 +751,13 @@ public class NTLMAuthenticationFilter extends AbstractAuthenticationFilter imple
|
||||
try
|
||||
{
|
||||
tx.begin();
|
||||
|
||||
// Get user details for the authenticated user
|
||||
m_authComponent.setCurrentUser(userName.toLowerCase());
|
||||
|
||||
// The user name used may be a different case to the NTLM supplied user name, read the current
|
||||
// user and use that name
|
||||
userName = m_authComponent.getCurrentUserName();
|
||||
|
||||
// Setup User object and Home space ID etc.
|
||||
NodeRef personNodeRef = m_personService.getPerson(userName);
|
||||
|
||||
// User name should match the uid in the person entry found
|
||||
userName = (String) m_nodeService.getProperty(personNodeRef, ContentModel.PROP_USERNAME);
|
||||
m_authComponent.setCurrentUser(userName);
|
||||
String currentTicket = m_authService.getCurrentTicket();
|
||||
user = new User(userName, currentTicket, personNodeRef);
|
||||
|
||||
|
Reference in New Issue
Block a user