[
https://issues.apache.org/jira/browse/EXTCDI-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved EXTCDI-60.
------------------------------------
Fix Version/s: 1.0.0-SNAPSHOT
Resolution: Fixed
> @Secured for secured view configs
> ---------------------------------
>
> Key: EXTCDI-60
> URL: https://issues.apache.org/jira/browse/EXTCDI-60
> Project: MyFaces CODI
> Issue Type: New Feature
> Components: JEE-JSF12-Module, JEE-JSF20-Module
> Reporter: Gerhard Petracek
> Fix For: 1.0.0-SNAPSHOT
>
>
> example - single page:
> @Page
> @Secured(LoginVoter.class)
> public final class Page1 implements ViewConfig
> {
> }
> example - multiple pages:
> @Secured(LoginVoter.class)
> @Page(basePath = "")
> public abstract class SecuredPages implements ViewConfig
> {
> @Page(basePath = ".")
> public final class Page1 extends SecuredPages
> {
> }
> @Page(basePath = ".")
> public final class Page2 extends SecuredPages
> {
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.