/*
 The caLAB Software License, Version 0.5

 Copyright 2006 SAIC. This software was developed in conjunction with the National 
 Cancer Institute, and so to the extent government employees are co-authors, any 
 rights in such works shall be subject to Title 17 of the United States Code, 
 section 105.

 */
package gov.nih.nci.calab.ui.core;

/**
 * This class calls the Struts ForwardAction to forward to a page, aslo 
 * extends AbstractBaseAction to inherit the user authentication features.
 *  
 * @author pansu
 */

/* CVS $Id: BaseForwardAction.java,v 1.3 2006-08-02 21:27:59 pansu Exp $ */

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.ForwardAction;

public class BaseForwardAction extends AbstractBaseAction {
	public ActionForward executeTask(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		ForwardAction forwardAction = new ForwardAction();
		return forwardAction.execute(mapping, form, request, response);
	}

	public boolean loginRequired() {
		return true;
	}
	
	public boolean canUserExecute(HttpSession session) {
		return true;
	}
}

@@ -560,35 +560,34 @@
 v 1.
-3
+4
  200
-6-08-02 21:27:59 pansu
+7-10-25 20:56:51 cais
  Exp
@@ -1285,24 +1285,26 @@
 uired() %7B%0A%09%09
+//
 return true;
@@ -1304,16 +1304,32 @@
 n true;%0A
+%09%09return false;%0A
 %09%7D%0A%09%0A%09pu

Set loginRequired to false. For users without login, this is required for "back" link on some pages to function.