[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3749) login-required should support EL

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Nov 25 05:46:47 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439641#action_12439641 ] 

Shane Bryzak commented on JBSEAM-3749:
--------------------------------------

If the user isn't logged in then a NotLoggedInException will be thrown, not an AuthorizationException.  And if you have pages.xml correctly configured, you will be redirected to the login page, not an error page.

> login-required should support EL
> --------------------------------
>
>                 Key: JBSEAM-3749
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3749
>             Project: Seam
>          Issue Type: Feature Request
>            Reporter: Przemyslaw Jaskierski
>            Assignee: Shane Bryzak
>             Fix For: 2.1.1.CR2
>
>
> There is a lot of scenarios which are impossible to accomplish without EL support in login-required attribute. Example: some pages should be freely accessed by recognized users (users who have e.g. you cookie set in it), but require login or registration from unrecognized users. Conditional check against e.g. session-scoped bean in login-required would be clean an elegant way to achieve this. Ok, you can add several intermediate views and redirect amongst them to achieve this, but it looks ridiculous comparing to clean EL approach.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list