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

[PATCH] Add remoteUser() information to RequestGenerator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.1.10, 2.2
    • * Cocoon Core
    • None
    • Operating System: All
      Platform: All
    • 35051
    • 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

        1. ASF.LICENSE.NOT.GRANTED--35051.diff
          0.6 kB
          Andrew Stevens

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: