I want to secure my page Administration.xhtml. In Administration.page.xml file, 
I insert the tag:

        <restrict> #{s:hasRole('admin')} </restrict>

I want to change this entry so it considers a static property like this :

        <restrict>#{s:hasRole(loggedUser.role)}</restrict>

LoggedUser being an Outjected bean, but loggedUser.role is not interpreted ...

Any ideas?
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102626#4102626

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102626
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to