You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joanne L Corless <jc...@csc.com> on 2004/03/02 18:15:37 UTC
Struts Workflow - Questions ?
Hi,
I'm trying to resolve a problem I have by making use of Struts Workflow -
Using this as I need something that will prevent "jump-out" within the
process
The login process of my app has a number of conditions which dictate which
page I send the user to next.
I understand the basic's of the Struts Workflow but am a little confused
when we get to the looping/forwarding aspects
Basically the section of the flow is as follows:
SecurityFilterAuthentication -> Is User Authenticated ?
If Y -> StartWorkflow -> Retrieve User Settings -> Is 3fromN
login required ?
If Y -> Do 3FromN Else ->Record Successful Login ->
.......Continue Workflow
The 3FromN section has to allow the user 3 attempts and then do a Lock Out
Action or if successful continue to the Record Successful Login Action
How do I make those decisions within the workflow ? Do I have to have an
action for every decision node or can I set what the next action should be
in the active one using return (new ActionForward(<nextAction>));
Regards
Joanne Corless
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org