Announcement Announcement Module
No announcement yet.
Why do you need to chain filters? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why do you need to chain filters?

    Hey guys,

    While reading Spring In Action 2, I am wondering in what other scenario I would want to chain filters. Since the filters are mapped to specific url patterns, all requests matching the url patterns will be processed by one filter bean. Even if I have multiple authentication processes, it will be declared in the filter bean. Then why do I need to chain filters together?

    I appreciate any enlightening example requiring chaining, for security or not.

    Last edited by liangchen76; Mar 10th, 2012, 10:31 PM.