[jboss-user] [JBoss Seam] - Re: Redirect to error-page for AuthorizationException with @

hamtho2 do-not-reply at jboss.com
Thu Mar 1 11:33:58 EST 2007


okay - I will have a look.

BTW: Is there any way to include the role through a static variable from an interface, so that you can replace

@Restrict("#{s:hasRole(''admin)}")

with anything like this

@Restrict("#{s:hasRole(SecurityRoles.ADMIN)}") ?



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

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



More information about the jboss-user mailing list