Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-676

SecurityContext not suitable for use with pooled objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.3.3.Final
    • 2.3.2.Final
    • jaxrs
    • None

      When Resteasy injects a SecurityContext the underlying Request is set at creation time. If this object is then used to serve a different request (e.g. when using pooled SLSB's) then the SecurityContext will be tied to the wrong request, and will return potentially incorrect data each time.

      An example app that reproduces the issues is at https://issues.jboss.org/browse/AS7-3227

              patriot1burke@gmail.com Bill Burke (Inactive)
              sdouglas1@redhat.com Stuart Douglas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: