If the users have one role only, you could write it like this:
<page view-id="/login.xhtml">
| <navigation from-action="#{identity.login}">
| <rule if="#{s:hasRole('user')">
| <redirect view-id="/user.xhtml"/>
| </rule>
| <rule if="#{s:hasRole('poweruser')">
| <redirect view-id="/poweruser.xhtml"/>
| </rule>
| </navigation>
| </page>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028624#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...