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

Gerhard Petracek updated DELTASPIKE-637:
----------------------------------------

    Description: 
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.

  was:
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:



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

Reply via email to