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