Hi all,
I am new to Seam but I have meddled a bit with JACC support in JBossAS 4.0.4. I was wondering if Seam has any type of support in terms of APIs or hooks to control the rendering of JSF components based on Ejb method permission given through JACC. I know Seam has support for web-tier level permissions for JSF component rendering. I want to link JSF component rendering to ejb method permissions. For example; A certain button when clicked upon calls an ejb method, now if the user who logs in doesnt have the permission/role to run that method, I want him to not see the button which invokes the method on the front-end i.e; i want to not render the component. Is this kind of behaviour possible using Seam?
Thank you,
-P
Does:
rendered="#{isUserInRole['admin']}"
give you what you need?