I'm facing a problem I'm sure someone already had.

I want to secure an URL of my application, and I can't use Acegi.
I've extended HandlerInterceptorAdapter and overriden the preHandle method.

I have a errorView property containing the view that should be rendered if the user is not allowed.
How in the preHandle method could I set a ModelAndView ?

Thanks