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.




--
http://www.indygosoft.com

Reply via email to