Put a filter on your application, in this filter, check if there is currently a principal, if yes, check if there is already your bean in the session. If not, create it. Then forward to the next of filter chain. As you are in a filter, you will be notified before the servelt / JSP requested by user is served. Jon Yeargers a écrit : > Im working with a JNDI realm to control access to a site. I need to be > able to 'trap' a successful login to any one of the pages in the site > so that I can create a session bean with login information. Is it > possible to tie a filter or valve to the login process and get the > information *before* the user is directed to the protected page? > > --------------------------------------------------------------------- > To start a new topic, e-mail: [email protected] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
