Hi,

I am a relative newbie to servlet programming and I'm
not really sure how to best solve a problem I am
having.  I am trying to implement a "save my password"
feature on my web site.  I am using Tomcat 4.1.18.  I
am using form-based authentication and I am using the
Tomcat provided userdatabase to store my usernames,
passwords and roles.  The authentication part works
fine.  I would like to be able to provide the user an
option to save their password in a client cookie so as
to not require them to login every time they go to my
site.  I have some specific questions:

1. Can the form-login-page tag in the web.xml file
reference a servlet instead of a web page?  If so
would this be an appropriate place to trap the login
and check if the user has a pre-saved cookie?

2. Is there a tag in the web.xml that would allow me
to specifiy a custom authentication class?

I would assume that this is a very common feature
that's required on public web sites.  I would be
interested in any opinions on how this is typically
addressed by servlet developers.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

Reply via email to