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 17:47:04 UTC
[jira] [Resolved] (DELTASPIKE-664) SecurityViolation are evaluated
twice for redirect pages with configured errorView
[ https://issues.apache.org/jira/browse/DELTASPIKE-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved DELTASPIKE-664.
-----------------------------------------
Resolution: Duplicate
> SecurityViolation are evaluated twice for redirect pages with configured errorView
> ----------------------------------------------------------------------------------
>
> Key: DELTASPIKE-664
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-664
> Project: DeltaSpike
> Issue Type: Bug
> Components: Security-Module
> Affects Versions: 1.0.0
> Reporter: Philip Herbst
>
> I modified deltaspike-jsf-example to reproduce the behaviour
> Modification to org.apache.deltaspike.example.viewconfig.Pages
> {code}
> @Secured(value = DenyAllAccessDecisionVoter.class,
> errorView = ViewConfigFolder.Error.class)
> public interface SecuredPages extends ViewConfig, RedirectedPages {}
> ...
> public class Error implements ViewConfig {}
> {code}
> errror.xhtml
> {code}
> <h:form>
> <h:messages />
> </h:form>
> {code}
> Result: Error message is shown twice on error page.
--
This message was sent by Atlassian JIRA
(v6.2#6252)