Announcement Announcement Module
Collapse
No announcement yet.
HandlerInterceptor and View Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HandlerInterceptor and View

    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
Working...
X