You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/08/16 01:28:18 UTC

[jira] [Resolved] (DELTASPIKE-637) duplicated handling of AccessDeniedException

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

Gerhard Petracek resolved DELTASPIKE-637.
-----------------------------------------

    Resolution: Fixed

> duplicated handling of AccessDeniedException
> --------------------------------------------
>
>                 Key: DELTASPIKE-637
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-637
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 1.0.0
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.0.2
>
>         Attachments: DELTASPIKE-637.patch, DELTASPIKE-637_2.patch
>
>
> BridgeExceptionHandlerWrapper fires ExceptionToCatchEvent for AccessDeniedException again. however, we can't just filter it since it's currently the only approach to use handlers if the violation was detected by an AccessDecisionVoter configured via view-configs.
> to reproduce it:
> annotate an action-method with @Secured and ExceptionHandlerBroadcaster#executeHandlers will get called twice in case of a violation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)