In my setup, unauthorized users are correctly redirected to unauthizedURL page. I see you have unauthorizedURL page set up in your shiro.ini, so it should work just fine. I am not sure why it deoesn’t work for you, but we have a database AuthorizingRealm that throws org.apache.shiro.authz.AuthorizationException and it redirects properly to a proper page
> On Mar 14, 2016, at 3:45 PM, jonathan.labin <[email protected]> wrote: > > My system is correctly redirecting to the login page for authentication. > This is after authentication, in a separate authorization realm. > > However, regardless of the realm being an authenticating or authorizing > realm (or both). My question is about exceptions that are thrown by that > realm and what methods there are for catching and handling those exceptions > in a useful way (for example redirecting to an error page). > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Realm-Exception-Handling-tp7580979p7580983.html > Sent from the Shiro User mailing list archive at Nabble.com. >
