Force login...

2001-11-02 Thread Scott Watson
My appologies for asking something that has probablly been asked and answered before, however, I wasn't able to find the answer in my searches. How do you force someone to login before being allowed to access your application. It doesn't seem right to code this in each action class. Is it

RE: Force login...

2001-11-02 Thread Princeton Lau
, Princeton -Original Message- From: Scott Watson [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 8:45 AM To: Struts Users Mailing List Subject: Force login... My appologies for asking something that has probablly been asked and answered before, however, I wasn't able to find the answer

RE: Force login...

2001-11-02 Thread Matt Raible
-Original Message- From: Scott Watson [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 8:45 AM To: Struts Users Mailing List Subject: Force login... My appologies for asking something that has probablly been asked and answered before, however, I wasn't able to find the answer

Re: Force login...

2001-11-02 Thread Martin Samm
a common method is to insert a custom tag on each page and a) checks the session, say, for a suitable attribute and value b) presents a login / redirects to login if no such value is found On Friday 02 Nov 2001 3:44 pm, you wrote: My appologies for asking something that has probablly been

Re: Force login...

2001-11-02 Thread Peter Pilgrim
To do it properly you have to: (1) Write a abstract base class, say `SecureActionBase' that provide security methods checkLogon(). Write a default implementation of `checkLogin' that subclasser can override. If no user is not longer return an action mapping forward that redirects to the login.

RE: Force login...

2001-11-02 Thread Sobkowski, Andrej
: Re: Force login... To do it properly you have to: (1) Write a abstract base class, say `SecureActionBase' that provide security methods checkLogon(). Write a default implementation of `checkLogin' that subclasser can override. If no user is not longer return an action mapping forward