Cocoon
  1. Cocoon
  2. COCOON-1515

[PATCH] Add remoteUser() information to RequestGenerator

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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

      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.

        Activity

        Andrew Stevens created issue -
        Hide
        Andrew Stevens added a comment -
        Created an attachment (id=15155)
        RequestGenerator.java diff
        Show
        Andrew Stevens added a comment - Created an attachment (id=15155) RequestGenerator.java diff
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 35051 12324824
        Pier Fumagalli made changes -
        Workflow jira [ 12341259 ] Cocoon Workflow [ 12341455 ]
        David Crossley made changes -
        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.
        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.
        Other Info [Patch available]
        Bugzilla Id 35051
        Antonio Gallardo made changes -
        Assignee Cocoon Developers Team [ cocoon ] Antonio Gallardo [ antonio ]
        Hide
        Antonio Gallardo added a comment -
        Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to reopen if needed.
        Show
        Antonio Gallardo added a comment - Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to reopen if needed.
        Antonio Gallardo made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Fix Version/s 2.1.10-dev (current SVN) [ 12310931 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        369d 6h 33m 1 Antonio Gallardo 29/May/06 16:04

          People

          • Assignee:
            Antonio Gallardo
            Reporter:
            Andrew Stevens
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development