Hi Simeon,
You just need to inject the tapestry.globals.HttpServletRequest
HiveMind service into your page. I'd recommend taking a look at the
services tapestry exposes, I've found a number of interesting things
you can have injected into your pages.
--Chris
On Jun 22, 2005, at 10:12 PM, Simeon Koptelov wrote:
I'm using tapestry 4.0-alpha3 and trying to wire servlet container
(tomcat) security to it. I need to use
HttpServletRequest.getUserPrincipal to know what user is logged in.
But I noticed that IReqestCycle.getRequestContext() is deprecated and
RequestContext too. As I see, WebRequest contains no methods to handle
authentication data and no way to access HttpServletRequest. Can
anyone tell how to retrieve logged principal?
---------------------------------------------------------------------
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]