You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2002/11/14 06:23:07 UTC

Check log-in status

Hi,

    Do you usually check if the user is logged-in in every action ? 

I can think of two ways to do this

 1. Check the status in every action
 2. Block the /context/xxx.action where 'xxx' is anything but 'login'

 Am I right ?

Thanks,
Mohan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Check log-in status

Posted by Andrew Hill <an...@gridnode.com>.
Best practice is to make used of the Container Managed Authentication
provided by your servlet container.

-----Original Message-----
From: Mohan Radhakrishnan [mailto:MohanR@hclcomnet.co.in]
Sent: Thursday, November 14, 2002 13:23
To: 'Struts Users Mailing List'
Subject: Check log-in status


Hi,

    Do you usually check if the user is logged-in in every action ?

I can think of two ways to do this

 1. Check the status in every action
 2. Block the /context/xxx.action where 'xxx' is anything but 'login'

 Am I right ?

Thanks,
Mohan

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>