cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: AW: AW: How to connect Avalon Component and SessionListener
Date Sat, 17 Dec 2005 04:25:15 GMT
Sorry for not getting back to you sooner. I was swamped doing some 
performance tuning.

I am using the authentication-fw and I have my own generator that calls 
our authentication component and then generates the appropriate XML 
response. During that proces the getInstance() is called.  I also call 
it from whatever other components need access to it during the lifetime 
of the session.


Stefan Pietschmann wrote:

>I'm sorry, I still don't completely get it. I assume that SessionData is the
>class that implements HTTPSessionBindingListener?
>So you call getInstance() during login, which adds the component
>(SessionData) to the Session. It will then be notified, when it is unbound
>from the session, which allows me to do my stuff.
>But how (and where) do you call getInstance()? Do you do it via an Action?
>Or is there an easier way? And can you be a bit more specific as where to
>put it? I guess in the auth-login matcher?

View raw message