[jboss-user] [JBoss Seam] - Q: Seam Security - <restrict>..</...>

bsmithjj do-not-reply at jboss.com
Mon Apr 2 15:49:41 EDT 2007


Hello,

I was trying to make us of the  tag in pages.xml to restrict access to a page based on whether or not a user has a role as reported by the Servlet container (instead of using Seam security):


  | <restrict>#{isUserInRole['Admin']}"</restrict>
  | 

Is this even possible?  If not, is it possible to somehow make this check before allowing access to a page?   Also, is there an equivalent to @Restrict that can work with the isUserInRole component?

Thanks

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033812



More information about the jboss-user mailing list