[
http://jira.jboss.com/jira/browse/JBSEAM-837?page=all ]
Gavin King closed JBSEAM-837.
-----------------------------
Resolution: Done
Done, but perhaps we should also add the functionality for redirect-to-login-and-back via
a setting in pages.xml.
<page login-required="true">
----------------------------
Key: JBSEAM-837
URL:
http://jira.jboss.com/jira/browse/JBSEAM-837
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Gavin King
Assigned To: Gavin King
Fix For: 1.1.7.GA
As a simpler alternative to <restrict>#{identity.loggedIn}</restrict> +
<exception class="org.jboss.seam.security.NotLoggedInException">, we
should allow you to use:
<pages login-view-id="/login.xhtml">
<page view-id="/main.xhtml" login-required="true">
...
</page>
...
<pages>
Just like we have with conversation-required today. This would use special code in
Page.enter(), instead of exception handling to do its work.
It would also add a message to the FacesContext (just like Manager.noConversation() does
today).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira