Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1263

Add a REST Exception mapper for EJBAccessException

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      By default, an EJB REST endpoint throws an EJBAccessException when authorization fails.

      As per JAX RS spec, it's converted into a ServletException by CXF and then results into a HTTP 500.

      It should be instead an HTTP 403

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlmonteiro Jean-Louis Monteiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: