mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Guest access check-point
. Fixes to document/space details screen when expanding/collapsing the Links panel . Fix to Saved Searches to handle AuthenticationException for Guest user access to saved searches folder . Fix to New User and Edit Password dialogs to fire text changed events when paste is used to fill in form fields git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,7 +56,7 @@ public class ExternalAccessServlet extends HttpServlet
|
||||
protected void service(HttpServletRequest req, HttpServletResponse res)
|
||||
throws ServletException, IOException
|
||||
{
|
||||
boolean alreadyAuthenticated = AuthenticationHelper.authenticate(getServletContext(), req, res);
|
||||
AuthenticationStatus status = AuthenticationHelper.authenticate(getServletContext(), req, res);
|
||||
|
||||
// The URL contains multiple parts
|
||||
// /alfresco/navigate/<outcome>
|
||||
@@ -89,7 +89,7 @@ public class ExternalAccessServlet extends HttpServlet
|
||||
// set the args if any
|
||||
req.getSession().setAttribute(LoginBean.LOGIN_OUTCOME_ARGS, tokens);
|
||||
|
||||
if (alreadyAuthenticated)
|
||||
if (status == AuthenticationStatus.Success || status == AuthenticationStatus.Guest)
|
||||
{
|
||||
// clear the User object from the Session - this will force a relogin
|
||||
// we do this so the outcome from the login page can then be changed
|
||||
|
Reference in New Issue
Block a user