I have a "Profile" entity, so I do:
employee.getProfile().getPermissions() wich are a bunch of strings, assigned to 
user at loginTime (#{authenticator.authenticate}) as roles, so xhtml uses 
#{s:hasRole('role')} and java uses Profile object, hope that helps.

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

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

Reply via email to