Charl Gerber wrote:
Hi everyone,
Does Tomcat provide default support in some way to implement a 'remember me'
feature for form based authentication? This should not be dependent on a
user's browser remembering the username/password, but by a checkbox you can
check/clear on the logon jsp.
Doesn't seem too hard to do cookies, googling it finds pages like
http://www.roseindia.net/jsp/jspcookies.shtml which can probably help you out.
-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com
Does Tomcat provide default support in some way to implement a 'remember
me' feature for form based authentication? This should not be dependent on a
user's browser remembering the username/password, but by a checkbox you can
check/clear on the logon jsp.
if you google for 'jsp cookie' you
If the app maintains sessions, then the logon page can read the
cookie, install some sort of User bean as a session attribute,
and then all other pages need only check for the presence of a non-
null value under that attribute. This even works for a
logon-optional/remember-me (low security)
Plan C: go for the gusto and use Spring Security (aka Acegi). Learning Spring
and Spring Security should keep you busy for the next year or so. Definitely
looks good on the resume though.
Charl Gerber wrote:
Hi everyone,
Does Tomcat provide default support in some way to implement a