Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1515

[PATCH] Add remoteUser() information to RequestGenerator

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.1.10, 2.2
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      35051
    • Other Info:
      Patch available

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              antonio Antonio Gallardo
              Reporter:
              ats37@hotmail.com Andrew Stevens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: