From: "Mike Dickson" <[EMAIL PROTECTED]> Date: Thu, 17 Nov 2005 12:31:35 -0800What data does Tomcat forward to Cocoon so I can tell which user has just logged in? I need to look up their data and have it ready for the user home page. (What variables are handed to Cocoon to work with? JSESSIONID? How do I get at them? {request-param:..}?)
I haven't checked what's currently available in CVS, but in one of our projects a while back I just modified the request parameter action (I think) to put the getRemoteUser() value in an extra entry in the returned map. Then I just used that in the sitemap with {remoteUser}. Another possibility (for which I submitted a patch - #35051 in bugzilla) is to add it to the request generator output. I have a vague feeling you can also access it with the request input module ({request:remoteUser} maybe?) though I might be wrong about that.
There's also a patch in bugzilla (#32164) that fixes the broken RoleFilterTransformer, so you can make use of isUserInRole() privileges.
Andrew. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
