You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Pedro Igor (JIRA)" <ji...@apache.org> on 2014/06/11 17:58:03 UTC

[jira] [Commented] (DELTASPIKE-636) @Secures should trigger the ds-exception-handler

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

Pedro Igor commented on DELTASPIKE-636:
---------------------------------------

Patch looks fine. Now the AccessDeniedException can be handled by a ExceptionHandler.

Thanks.

> @Secures should trigger the ds-exception-handler
> ------------------------------------------------
>
>                 Key: DELTASPIKE-636
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-636
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module
>    Affects Versions: 0.7
>            Reporter: Pedro Igor
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: DELTASPIKE-636.patch
>
>
> When using @Secures, if a validation fails the AccessDeniedException is thrown without letting the application to handle it properly. This ends up printing the stack trace on the logs.
> Ideally, users should be able to handle this exception before propagating it.



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