[ http://issues.apache.org/jira/browse/COCOON-1515?page=all ] Antonio Gallardo closed COCOON-1515: ------------------------------------
Fix Version: 2.2-dev (Current SVN) 2.1.10-dev (current SVN) Resolution: Fixed Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to reopen if needed. > [PATCH] Add remoteUser() information to RequestGenerator > -------------------------------------------------------- > > Key: COCOON-1515 > URL: http://issues.apache.org/jira/browse/COCOON-1515 > Project: Cocoon > Type: Improvement > Components: * Cocoon Core > Versions: 2.2-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: Andrew Stevens > Assignee: Antonio Gallardo > Priority: Minor > Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN) > Attachments: 35051.diff > > Something I've occasionally found useful in the request generator when using > the > standard J2EE container security was to add the currently logged in user's ID > (from request.remoteUser()). It doesn't necessarily get sent with every > request, depending on the container and whether or not the request is for a > protected page, but it's usually set on requests for secured HTML pages. > I'm attaching the (fairly trivial) patch I used to add this, taken against the > current SVN trunk. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira