If you have your web resources (servlet, jsps) protected with authentication, no users are able to access them without logging in first.
ND -----Original Message----- From: Luis Gervaso [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 1:00 PM To: Tomcat Users List Subject: Re: Application sign-in I need to call database only whe user login with j_security_check It's is valid other users have a session in the application but they are not authenticated (guest users) regards 2006/1/27, Duan, Nick <[EMAIL PROTECTED]>: > > One option is to create your own HttpSessionListener and implement the > method sessionCreated(), where you can add objects to HttpSession. > Please refer to the javadoc of javax.servlet.http.HttpSessionListener > API for more details. > > ND > > -----Original Message----- > From: Luis Gervaso [mailto:[EMAIL PROTECTED] > Sent: Friday, January 27, 2006 11:36 AM > To: users@tomcat.apache.org > Subject: Application sign-in > > Hello, > > I need help about making this... > > when an user login using form-based authentication i need retrieve a > user > objet from database and > store it in his httpsession > > regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Un saludo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]