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/07/12 20:42:04 UTC

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

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

Gerhard Petracek commented on DELTASPIKE-637:
---------------------------------------------

for an internal detection we would need a request-scoped cache to collect the detections otherwise we would create a leak.
creating an optional spi for it isn't nice as well.

> 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.1
>
>         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.



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