Chris,

For what it's worth, I spent ages trying to get a remember-me
login thing going "out of the box" but never managed it.

In the end I implemented my own user/role setup and use a 
Filter to ensure the user is logged in when accessing servlets/
JSPs with specifice URL paths.  The login page sets cookies to
do the "remembering".

If you get your's going (I'm now on Tomcat 5.0.28, maybe there's
something new) I'd be interested in the details.

Good luck.

Best regards
Chris

-- 

Chris Ward, Horizon Asset Limited
<mailto:[EMAIL PROTECTED]>
Tel +44 (20) 7367 7028, Fax 7367 7029

-- 


THIS E-MAIL MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION.
IF YOU ARE NOT THE INTENDED RECIPIENT (OR HAVE RECEIVED THIS E-MAIL
IN ERROR) PLEASE NOTIFY THE SENDER IMMEDIATELY AND DESTROY THIS E-
MAIL.  ANY UNAUTHORISED COPYING, DISCLOSURE OR DISTRIBUTION OF THE
MATERIAL IN THIS E-MAIL IS STRICTLY FORBIDDEN.

         HORIZON ASSET LIMITED IS AUTHORISED AND REGULATED
                BY THE FINANCIAL SERVICES AUTHORITY.



> -----Original Message-----
> From: Chris Forbis [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 12, 2004 7:45 PM
> To: [EMAIL PROTECTED]
> Subject: Form Based Authentication with Cookies?
> 
> 
> I have been looking for a way withing tomcat using a 
> JDBCRealm to do form bases authentication and allow users to 
> set some sort of "Remember Me" cookie, so they do not need to 
> log into my application more than once a month or so.
> 
> It looks like to me that FormAuthenticator is sort of 
> hardcoded into tomcat without a way to allow for a context to 
> allow for a CustomFormAuthenticator that would allow for this.
> 
> Am I missing something, or is there no easy way to do this?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> 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