1 2 Previous Next 15 Replies Latest reply on Apr 11, 2007 12:34 PM by shane.bryzak

    Redirect to error-page for AuthorizationException with @Rest

      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

        1 2 Previous Next