Charles, you can use container managed security or the SecurityFilter  to authenticate 
users when accessing protected resources. You
can set the session time out by adding something like the following to your web.xml 
file:

<session-config>
        <session-timeout>60</session-timeout>
</session-config>



You can find more information on SecurityFilter here:
http://sourceforge.net/projects/securityfilter/

Your servlet container documentation should let you know how to
implement container managed security.

robert



> -----Original Message-----
> From: Charles Jordan [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 22, 2004 1:35 PM
> To: [EMAIL PROTECTED]
> Subject: user login authentication and session timeout
>
>
> I'm looking for examples or to be pointed in the right direction on how
> to achieve the following.
> I want my users to be able to access a mojority of my pages without having
> to login, but if they select a specific page a small login pop-up window
> would display which would require a valid user name and password. I also
> want the session to time-out after a period of time.
> Any ides?
>
> Charles (Allen) Jordan   <[EMAIL PROTECTED]>
>   System Administrator    (407)771-8919
>   Convergys
>   285 International Parkway,
>   Lake Mary, FL 32746-5007
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to