If you map the filter to the same url-pattern as your protected resource, it
will be called immediately after someone authenticates.

HTH,

Matt

> -----Original Message-----
> From: Ralf Lorenz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 6:59 AM
> To: Tomcat Users List
> Subject: Re: form based authentication problem
> 
> 
> thanks, that's exactly the solution i discussed right now 
> with some other
> developers of my company.
> the question with the filter is whether it is called when the 
> container
> forwards or redirects to the
> claimed resource after the authentication is done? 
> theoretically i'd say yes
> but who knows?
> try and error i guess!
> ralf
> 
> 
> ----- Original Message -----
> From: "Barney Hamish" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 04, 2003 1:35 PM
> Subject: RE: form based authentication problem
> 
> 
> > I did something like that using struts. I wrote a base 
> action class which
> > all my other action classes extended. The base class performs any
> > initialization (initializing objects in the session etc) as 
> required.
> >
> > If you don't want to use struts you might consider using a filter.
> > Hamish
> >
> > > -----Original Message-----
> > > From: Ralf Lorenz [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, February 04, 2003 1:13 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: form based authentication problem
> > >
> > >
> > > guess that was to much of description last time! next try
> > >
> > > can anybody tell me how to do some action, say put an object
> > > in the session
> > > or/and update a list in the servlet context directly after a
> > > user was logged
> > > in successfully via form-based authentication (context) with
> > > a jdbc-realm?
> > >
> > > ralf
> > >
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > 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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to