You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/05/25 01:31:07 UTC
DO NOT REPLY [Bug 35051] New: -
[PATCH] Add remoteUser() information to RequestGenerator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35051>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35051
Summary: [PATCH] Add remoteUser() information to RequestGenerator
Product: Cocoon 2
Version: Current SVN 2.2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P4
Component: core
AssignedTo: dev@cocoon.apache.org
ReportedBy: ats37@hotmail.com
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.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.