[
https://issues.jboss.org/browse/SEAMFACES-79?page=com.atlassian.jira.plug...
]
Brian Leathem updated SEAMFACES-79:
-----------------------------------
Component/s: View Configuration
Provide <s:restrictView> tag for securing pages
-----------------------------------------------
Key: SEAMFACES-79
URL:
https://issues.jboss.org/browse/SEAMFACES-79
Project: Seam Faces
Issue Type: Feature Request
Components: UI Components, View Configuration
Affects Versions: 3.0.0.Beta2
Reporter: Dan Allen
Seam 2 had the ability to restrict pages using an EL expression or a permission from
security. We have various ways we can provide this functionality in Seam 3. We should at
least provide a view metadata tag [1] that coincides with <s:viewAction> to restrict
a view.
<s:restrictView require="#{identity.loggedIn}"/>
<s:restrictView require="modify"/>
It's import to ensure that Seam Security remains an optional dependency, just as with
the managed-transaction feature.
This feature was present in an early prototype of Seam 3, but got dropped. The source is
still available for reference.
https://fisheye.jboss.org/browse/~raw,r=11746/Seam/modules/faces/trunk/sr...
https://fisheye.jboss.org/browse/~raw,r=11746/Seam/modules/faces/trunk/sr...
https://fisheye.jboss.org/browse/~raw,r=11746/Seam/modules/faces/trunk/sr...
https://fisheye.jboss.org/browse/~raw,r=11746/Seam/modules/faces/trunk/sr...
[1]
http://java.dzone.com/articles/bookmarkability-jsf-2
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira