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

RoleBasedSecurityFilter doesn't alter the Content-Type header

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.1.1.Final, 3.0.21.Final
    • 3.0.19.Final
    • jaxrs
    • None

    Description

      The response provided by the RoleBasedSecurityFilter, when a FORBIDDEN status is returned, provides a text description but leaves the negotiated content-type as is.

      This confuses our response processing as our 400 series errors return "application/problem+json" so we are using the Content-Type even when encountering these errors.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              kevinwooten Kevin Wooten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: