i've been using tapestry-acegi, so perhaps this might not be helpful in your case...

so, how are you declaring the UserDetailsService implementation to be used by acegi ?

If you could inject into hivemind's ApplicationStateManager you would be able to
access any ASO you'd like.


Srinivas Yermal wrote:
The one option that I keep seeing in the archives is reading in the user
details through either the request.getRemoteUser() or SecurityContextHolder.
I am ok with either of them. The only issue however is where to put this
initialization code?

Should this code be a part of the base page like say "BaseSecurePage extends BasePage" and all others extend BaseSecurePage? Or is there any cleaner and tapestry-like way that I should be following? say inject it in some place or
some filter that I should be writing or the like.

Gurus of tapestry! need help.
Thanks
Srini.

On 1/17/07, Srinivas Yermal <[EMAIL PROTECTED]> wrote:

Hi,

I have been trying to initialize the Visit object with certain values once the user has logged in. The values needless to say are user specific. So I would need to access the auth details from acegi. What should I be doing to
set these values? I am bit lost here. We are using Acegi with spring and
tapestry 4.0.2.

I found examples from the tapestry 3.x in the archives but nothing
pointing me to how to do it with the latest bundles. If there is already
some discussion on this, I would be really grateful if you could point me in
that direction.

Thanks,
Srini.






--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting

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

Reply via email to