[jboss-user] [JBoss Seam] - Re: how to access users role list...

bulloncito do-not-reply at jboss.com
Fri Jul 6 18:04:46 EDT 2007


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



More information about the jboss-user mailing list