You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by dh...@lexmark.com on 2001/03/22 22:24:41 UTC

Initial security check


Hi everyone.

Just a quick, somewhat newbie, question.  I need to sometimes require a login,
depending on the user, when the user first enters the web app.  I am thinking I
should make the first "page" an action which will check to see if the user
requires a log in, and redirect them to that page if necessary, else the app's
first page.

Is this appropriate?  Should it be the controller which handles this, or
delegates it to an action according to good MVC Model 2 design?

Thanks,

Dave