I believe Koji wants to authenticate users as soon as they register. I agree with him that it's kind of silly to have the user first fill out all his user profile information to register as a new user to the site, and then ask him to log on. It would be nice if one is able to log on the user automatically after registration.
grts. Patrick -----Original Message----- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 1:15 PM To: 'Tomcat Users List' Subject: RE: API for authenticating user Hi, Sorry, I might've misunderstood you. Are you saying that even after a user has loged in, they will still be prompted for log in information if they try to go to another page during the same sessions? That's weird..., because if you have your session set up right, tomcat will remember the subsequent requests from the same user. Or are you trying to remember the user for the following sessions as well? That would be platform-dependent since you will have to store user's information locally on the client side. Can you clarify your question? Thanks Yan -----Original Message----- From: Koji Sekiguchi [mailto:[EMAIL PROTECTED] Sent: May 23, 2004 21:14 To: [EMAIL PROTECTED] Subject: API for authenticating user Hi, I'd like to know how to authenticate a new user when he/she subscribe his/herself so that he/she can avoid login procedure. I've successfully set up Form Authentication and JDBC Realm on Tomcat 5.0.24. But now, new users must visit login page to authenticate themselves after subscribing. I'd like to reduce the login step for subscribers if session continues. I think I have to use a couple of Tomcat API and save principal information into the user session, right? regards, Koji --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
