I have a webapp running on tomcat using a JndiRealm and form authentication. I would like to add a "remember me" checkbox to that form. What is the best way to do this?
+1
A:
That's pretty a lot of work if you'd like to keep using container managed authentication since this facility isn't provided by the standard Java EE API. Spring Security has already done most of the work for you. Check the Remember-Me Authentication documentation. I'd recommend it instead of homegrowing.
BalusC
2010-09-10 14:59:58