Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-9004

Jetty12 : always use pre-saved HTTP_REQUEST from InMessage to populate SecurityContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • Transports
    • None
    • Unknown

    Description

      Ensure we use HttpServletRequest from the one saved in inMessage as this could be the cachedInput one in oneway and ReplyTo is specified when ws-addressing is used, which means we need to switch thread context and underlying transport might discard any data on the original stream.

      So always retrieve the pre-saved HTTP_REQUEST from InMessage, so this could be the original HttpServletRequest or the Cached HttpServletRequest when it's necessary

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              ffang Freeman Yue Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: