Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7600

AMQChannel#receivedComplete is performed without the SessionPrincipal within the thread access controller context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      By design, threads working on behalf of the channel are supposed to carry the SessionPrincipal as part of the running subject. If the channel is processing on a frame, the principal is made available by BrokerDecoder#processAMQPFrames, however, if the channel is performing 'post-work' (i.e. AMQChannel#receivedComplete) it currently forgets to make the principal available.

      As exposed by test failures since r1776037 (QPID-6028),

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: