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:08:24 UTC
[jira] [Resolved] (TOMEE-1263) Add a REST Exception mapper for
EJBAccessException
[ https://issues.apache.org/jira/browse/TOMEE-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Louis MONTEIRO resolved TOMEE-1263.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
> 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
> Fix For: 1.7.0
>
>
> 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)