You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org> on 2014/07/01 11:00:43 UTC
[jira] [Created] (TOMEE-1263) Add a REST Exception mapper for
EJBAccessException
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)