RE: Question on log on with SecurityFilter and JDBCRealm

2005-08-19 Thread Mitchell, Steven C
contextInitializer com.umb.optout.view.ContextInitializerFilter contextInitializer /secured/* Steve -Original Message- From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 5:19 PM To: Struts Users Mailing List; Mitchell, Steven C Subject: Re: Question on l

Re: Question on log on with SecurityFilter and JDBCRealm

2005-08-18 Thread C.F. Scheidecker Antunes
Steven, Thanks! Yeah, great idea. In fact I was reading about that on O'Reilly's Struts Cookbook. I have one question to you though: How is the filter executed? After the login? Or after every http request to the server? What does fire the filter up? Is it like an event for a GUI app? I woul

RE: Question on log on with SecurityFilter and JDBCRealm

2005-08-18 Thread Mitchell, Steven C
Have you considered using a Filter to put the extra stuff in your Session? We use an initialization Filter that looks up a User record based on the authenticated user id. We then place that User object both in the Session and a thread local variable so that it is available to all the layers of ou