[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2454) Pages raises event "org.jboss.seam.notLoggedIn", Documentation uses "org.jboss.seam.security.notLoggedIn"

Thomas März (JIRA) jira-events at lists.jboss.org
Mon Jan 7 14:08:43 EST 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2454?page=comments#action_12394010 ] 
            
Thomas März commented on JBSEAM-2454:
-------------------------------------

But if I have

	<page view-id="/admin/*" login-required="true" />

where ist the event "org.jboss.seam.security.notLoggedIn" raised?
Or is login-required deprecated, too?


> Pages raises event "org.jboss.seam.notLoggedIn", Documentation uses "org.jboss.seam.security.notLoggedIn"
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2454
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2454
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Documentation, Security
>    Affects Versions: 2.0.1.CR1
>            Reporter: Thomas März
>         Assigned To: Pete Muir
>            Priority: Minor
>
> org.jboss.seam.navigation.Pages
>    protected void notLoggedIn()
>    {
>       Events.instance().raiseEvent("org.jboss.seam.notLoggedIn");
>       
>       FacesMessages.instance().addFromResourceBundleOrDefault( 
>             FacesMessage.SEVERITY_WARN, 
>             "org.jboss.seam.NotLoggedIn", 
>             "Please log in first" 
>          );
>    }
> Documentation:
> http://docs.jboss.com/seam/2.0.1.CR1/reference/en/html/security.html#d0e7094
> http://docs.jboss.com/seam/2.0.1.CR1/reference/en/html/security.html#d0e7997

-- 
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