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
,
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
-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
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
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...
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
6 matches
Mail list logo