You can write your own security. It's really not that hard, you setup a servlet or something that intercepts all page requests and validates the user. If they don't have permission, or aren't logged in you display a login screen. If they are you give them access. If you want persistant logins, you need to probably use a cookie (persistant cookie, not a non-persistant one).
--mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: David Reed [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 2:10 PM > To: Tomcat Users List > Subject: Re: remember password HOW-TO? > > > Thanks Will, So what are my alternatives to container > based authentication? > > --- Will Hartung <[EMAIL PROTECTED]> wrote: > > > From: "David Reed" <[EMAIL PROTECTED]> > > > Sent: Wednesday, March 05, 2003 1:46 PM > > > Subject: remember password HOW-TO? > > > > > 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. > > > > If you're using container based authentication > > (which you are), then you can > > not implement a "remember me" facility within the > > Servlet API, there's > > simply no mechanism for it exposed by the container. > > > > Of course, you're welcome to beat on Tomcat itself > > to provide this > > non-portable functionality, but there's no way to do > > it solely within your > > web app. > > > > The only other solution is to implement all security > > using standard > > mechanisms with Servlets et al, but that's a big > > wheel to re carve out of > > stone. > > > > Regards, > > > > Will Hartung > > ([EMAIL PROTECTED]) > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > __________________________________________________ > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
