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 17:07:26 UTC

[jira] [Resolved] (SYNCOPE-999) REST exception mapper overwrites Spring Security response

     [ https://issues.apache.org/jira/browse/SYNCOPE-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò resolved SYNCOPE-999.
--------------------------------------------
    Resolution: Fixed

> 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: 1.2.9, 2.0.1
>            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)