Merged V2.1-A to HEAD

8289: Added jpeg2000 mimetype
   8302: Fix for Adobe (ACT 1487)
   8306: Solution for Adobe raised ticket ACT 1384
   8310: Fix for location based breadcrumb when navigating discussions
   8432: ADB-48 - in case of multi-domain lookup, also consistent with AWC LoginBean


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2008-05-19 14:09:30 +00:00
parent e040efda5d
commit 0d7079d2f6

View File

@@ -36,7 +36,6 @@ import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.transaction.UserTransaction;
import org.alfresco.model.ContentModel;
@@ -70,7 +69,7 @@ public class AuthenticationFilter implements Filter
public final static String AUTHENTICATION_USER = "_alfDAVAuthTicket";
// Allow an authenitcation ticket to be passed as part of a request to bypass authentication
// Allow an authentication ticket to be passed as part of a request to bypass authentication
private static final String ARG_TICKET = "ticket";
@@ -164,6 +163,9 @@ public class AuthenticationFilter implements Filter
m_authService.authenticate(username, password.toCharArray());
// Set the user name as stored by the back end
username = m_authService.getCurrentUserName();
// Get the user node and home folder
NodeRef personNodeRef = m_personService.getPerson(username);