tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis MONTEIRO (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-1263) Add a REST Exception mapper for EJBAccessException
Date Tue, 01 Jul 2014 09:00:43 GMT
Jean-Louis MONTEIRO created TOMEE-1263:
------------------------------------------

             Summary: Add a REST Exception mapper for EJBAccessException
                 Key: TOMEE-1263
                 URL: https://issues.apache.org/jira/browse/TOMEE-1263
             Project: TomEE
          Issue Type: New Feature
            Reporter: Jean-Louis MONTEIRO


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message