|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.jafer.registry.web.struts.action.JaferRegistryAction
org.jafer.registry.web.struts.action.RequiresLogonAction
public final class RequiresLogonAction
This action checks to see if the user is logged on. If they are they can proceed with the submit action otherwise they are to be redirected to logon first.
Field Summary | |
---|---|
private SetReturnPageAction |
setReturnPageAction
Stores a reference to the SetReturnPageAction because we can not chain these two in the struts config due to form reset issues |
Fields inherited from class org.jafer.registry.web.struts.action.JaferRegistryAction |
---|
dynaForm, mapping, request, response, session, SUCCESS |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
RequiresLogonAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Execute the action |
Methods inherited from class org.jafer.registry.web.struts.action.JaferRegistryAction |
---|
addErrorMessage, addInfoMessage, getActionForward, getActionForward, getErrorPage, getRegistryManager, getReturnPage, getServiceLocator, getServiceManager, initAction, setReturnPage |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SetReturnPageAction setReturnPageAction
Constructor Detail |
---|
public RequiresLogonAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws RegistryException, java.io.IOException, javax.servlet.ServletException
execute
in class org.apache.struts.action.Action
mapping
- The struts action mappingform
- The action form sent in the requestrequest
- The request objectresponse
- The response object
java.io.IOException
javax.servlet.ServletException
RegistryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |