You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2017/01/20 15:54:26 UTC
[jira] [Created] (SYNCOPE-999) REST exception mapper overwrites
Spring Security response
Francesco Chicchiriccò created SYNCOPE-999:
----------------------------------------------
Summary: REST exception mapper overwrites Spring Security response
Key: SYNCOPE-999
URL: https://issues.apache.org/jira/browse/SYNCOPE-999
Project: Syncope
Issue Type: Bug
Components: client, core
Affects Versions: 2.0.1, 1.2.9
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
Fix For: 1.2.10, 2.0.2, 2.1.0
CXF is configured with an exception mapper for {{java.lang.Exception}} which explicitly handles {{org.springframework.security.access.AccessDeniedException}}, thus overwriting the HTTP response produced by Spring Security.
This is causing troubles with non-default Spring Security configurations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)