[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-837) <page login-required="true">

Gavin King (JIRA) jira-events at lists.jboss.org
Tue Feb 13 00:57:33 EST 2007


<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: Shane Bryzak
             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

        



More information about the seam-issues mailing list