This content has been marked as final.
Show 3 replies
-
1. Re: AuthorizationException = ERROR, why?
blabno Oct 19, 2009 10:27 PM (in response to chris.simons)Have you configured exception handling in pages.xml ? Show it. If so then failing gracefully means redirecting user to either login or error view.
-
2. Re: AuthorizationException = ERROR, why?
chris.simons Oct 19, 2009 10:37 PM (in response to chris.simons)Yes, I have (below) and the redirection works. But that doesn't prevent the ERROR severity message in my application's logs.
<exception class="org.jboss.seam.security.AuthorizationException"> <redirect view-id="/authorizationFailed.xhtml"> <message severity="WARN">You do not have the permission necessary to perform this action.</message> </redirect> </exception>
-
3. Re: AuthorizationException = ERROR, why?
joblini Nov 6, 2009 8:17 PM (in response to chris.simons)The <exception> tag has attributes which can be used to control logging of the exception.