You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/01/20 15:56:26 UTC
[jira] [Commented] (SYNCOPE-999) REST exception mapper overwrites
Spring Security response
[ https://issues.apache.org/jira/browse/SYNCOPE-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831998#comment-15831998 ]
ASF subversion and git services commented on SYNCOPE-999:
---------------------------------------------------------
Commit ecbff72b5aa6ea566540946a5e91e5d4e047c1df in syncope's branch refs/heads/1_2_X from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=ecbff72 ]
[SYNCOPE-999] Adjusting Spring Security configuration and REST exception mapping
> 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)