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

hamtho2 do-not-reply at jboss.com
Thu Mar 1 10:38:27 EST 2007


Hi @all,

when I define a restriction like #{s:hasRole('admin')} in my pages.xml and the authorization failes with an AuthorizationException I get the error-page defined in the pages.xml. But if it fails because of a @Restrict("#{s:hasRole('admin')}")-annotation in the backing-bean I get the usual error-page. Is there a way to redirect the the error-page as well?

Thomas

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

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



More information about the jboss-user mailing list