Catch security related exceptions and redirect to login

Not sure if this approach is right. But as far as I know web.xml's error-page is not capable of dealing with JSF.