Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7983

RoleBasedSecurityFilter doesn't alter the Content-Type header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR13
    • 7.1.0.DR9
    • REST
    • None

      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.

              rhn-support-asoldano Alessio Soldano
              kanovotn Katerina Odabasi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: