[
https://jira.jboss.org/jira/browse/JBSEAM-3749?page=com.atlassian.jira.pl...
]
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