yes i need to store information about only for authenticated users
the scenario is: 1. anonymous request a secured resource 2. web container detects this is securend and show user a login form 3. user fill user / pass and click 4. automatically consult database and fill a complete user object with all data refer the user that's all thanks nick for your attention 2006/1/27, Duan, Nick <[EMAIL PROTECTED]>: > > 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] > > -- Un saludo