syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-999) REST exception mapper overwrites Spring Security response
Date Fri, 20 Jan 2017 17:06:26 GMT

    [ https://issues.apache.org/jira/browse/SYNCOPE-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832111#comment-15832111
] 

ASF subversion and git services commented on SYNCOPE-999:
---------------------------------------------------------

Commit e36511ffdc6cb4c783b5882ad811ef651cffb3fe in syncope's branch refs/heads/2_0_X from
[~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=e36511f ]

[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)

Mime
View raw message