RE: Logon/Logoff Design Question

2004-11-03 Thread Tim Carr
PROTECTED] On Behalf Of Jeff Beal Sent: November 3, 2004 12:32 PM To: [EMAIL PROTECTED] Subject: Re: Logon/Logoff Design Question Let me give you some very quick pseudo-code that might help you: In SecureAction execute method: if (request.getSession().getAttribute("username") == null) {

Re: Logon/Logoff Design Question

2004-11-03 Thread Adam Hardy
the action that was supposed to run in the first place! Any more ideas? Thanks, Tim -Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: November 3, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: Logon/Logoff Design Question 2) After a successful login, pu

Re: Logon/Logoff Design Question

2004-11-03 Thread Jeff Beal
estroys the ActionForm I have associated with the page, and I need to keep the form for the action that was supposed to run in the first place! Any more ideas? Thanks, Tim -Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: November 3, 2004 11:54 AM To: [EMA

RE: Logon/Logoff Design Question

2004-11-03 Thread Tim Carr
s supposed to run in the first place! Any more ideas? Thanks, Tim -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: November 3, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: Logon/Logoff Design Question 2) After a successful login, pull that in

Re: Logon/Logoff Design Question

2004-11-03 Thread Jeff Beal
Here's what you'll need to do: 1) In your SecureAction class, prior to returning the "login" forward you need to store the information relevant to the current request in the session. Note that the word 'relevant' is somewhat subjective, but probably includes the exact request URI and the full s

Logon/Logoff Design Question

2004-11-03 Thread Tim Carr
Hello all, As a Struts n00b I'm trying to make a modification to an already-existing Struts application. Currently there are some Actions that anyone who uses the application is supposed to be able to execute, these Actions simply extend Action and override the execute method (as you'd expect). T